Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add summary of test status/durations to non-leaf nodes #2623

Closed
haashem opened this issue Jul 8, 2020 · 3 comments · Fixed by #2731
Closed

Add summary of test status/durations to non-leaf nodes #2623

haashem opened this issue Jul 8, 2020 · 3 comments · Fixed by #2731
Labels
in testing Relates to test execution of Dart/Flutter tests for end users is enhancement
Milestone

Comments

@haashem
Copy link

haashem commented Jul 8, 2020

Currently In test panel, it shows test group and test name and duration for each test.

Proposed improvements:

For each test group display number of tests, number of passed tests, accumulated duration of all tests in the group

Project Name +----+ 14 tests total, 8 tests passed, 0.1 seconds

  object_test.dart +-----+ 14 tests total, 8 tests passed, 0.1 seconds

     group_test +-----+ 8 tests total, 8 test passed, 0.05 seconds

     individual_test +------+ 0.003 seconds

the goal is have a glimpse on total passed tests and total duration for the whole project, each test file and test group.
Screen Shot 2020-07-08 at 12 31 16 PM

@DanTup DanTup added this to the v3.13.0 milestone Jul 8, 2020
@DanTup DanTup added in testing Relates to test execution of Dart/Flutter tests for end users is enhancement labels Jul 8, 2020
@haashem
Copy link
Author

haashem commented Jul 8, 2020

I got the idea from Xcode test log interface:
Screen Shot 2020-07-08 at 11 18 03 PM

@DanTup DanTup changed the title Improve test logs in test panel Add summary of test status/durations to non-leaf nodes Jul 28, 2020
@DanTup DanTup modified the milestones: v3.13.0, v3.14.0 Jul 28, 2020
DanTup pushed a commit that referenced this issue Aug 24, 2020
@haashem
Copy link
Author

haashem commented Nov 4, 2020

Hi Thanks for enhancing this extension but after running a few tests, test summary panel gets confused and added previous group tests run counts! I have only three tests in one group.

Screen Shot 2020-11-04 at 8 10 37 PM

@DanTup
Copy link
Member

DanTup commented Nov 4, 2020

@haashem yikes! Could you file a new issue, and include details of how you're running the tests (for example whether using F5, or the CodeLens links) and how reproducible it is.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in testing Relates to test execution of Dart/Flutter tests for end users is enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants