Skip to content

Inconsistent TE Behavior #5396

@SmileyFtW

Description

@SmileyFtW

Rubberduck version information
Version 2.5.0.5338
OS: Microsoft Windows NT 10.0.18362.0, x64
Host Product: Microsoft Office x86
Host Version: 16.0.12430.20264
Host Executable: EXCEL.EXE

Description
After test run the displayed items in the TE is inconsistent based on how items are grouped

To Reproduce
Steps to reproduce the behavior:

  1. Excel closed
  2. Open workbook having test modules/methods
  3. Open VBIDE
  4. Refresh RD
  5. Open TE
  6. Grouping By Outcome (default)
  7. Deselect Succeeded Outcome filter (Unknown, Fail, Inconclusive remain selected)
  8. With no item in the TE selected – Run>All Tests
  9. Observe only tests that are unsuccessful are displayed
  10. Close Excel
  11. Repeat Steps 1) through 5)
  12. Group By Location
  13. Repeat steps 7) and 8)
  14. Observe all tests are displayed, including Successful ones

Expected behavior
Only unsuccessful tests displayed regardless of the condition of the TE. Even if run from a Selection, only the unsuccessful tests should be displayed. If any of the selected tests is displayed (unsuccessful), those would still be selected; successful tests would not maintain selected status.

There may be other configurations of the TE that exhibit either of the above behaviors (observation steps 9) and 14) ). The steps above only show differences for Grouping from a fresh TE. All configurations/states should exhibit consistent behavior.

Logfile
RubberduckLog.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIdentifies work items for known bugsfeature-unit-testingwpfIssue is easier to resolve with knowledge of WPF/XAML

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions