-
Notifications
You must be signed in to change notification settings - Fork 31
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
Show details about test duration #1137
Comments
I like the idea. Two thoughts...
Some of this will take a while to work out. So go ahead with it but don't do a PR till after the beta6 release, which is unfortunately taking me longer than I thought it would. Celebrating my 82nd birthday today, so I'll be back on Sunday. :-) |
Congratulations on your birthday! Enjoy the day and celebrate! |
I came up with the context menu idea just because it seems to be simple for the user to enable/disable it. (In contrast to some setting in the settings dialog - which must be found first of all and must be opened to enable/disable it.) But we can actually decide whether and where this setting should be saved. I think I wasn't that strict in my mind so far that the context menu settings are always transient - therefore I prefer to save it in the settings. So when you restart TestCentric you will continue to work with your last configuration. The user enabled this settings at some point in time in the past, so he can disable it again, if he doesn't want this feature anymore. So saving this in the settings seems to be fine for me. The option to sort by test duration is certainly helpful. This means that users do not have to search hard for the slowest test theirself, but just start sorting. And if we start to support sorting, we can then do the alphabetical sorting at the same time. So a new feature is a good idea. |
@CharliePoole : |
@rowo360 The release is out. Check for an email I sent you. I'd say go ahead with the PR. I'll take a look at it in the morning. |
Describe the bug
It's currently possible to group all tests 'By Duration', so that the user get some insights about slow running tests. That's already fine!
It would be even more helpful for the user if can view the exact test duration somehow. So that he can identify some bottleneeks easily and and knows where to start an improvement.
The test duration is already provided by NUnit, but it's not visualized so far.
Expected behavior
The test duration is shown for each test case and test fixture in the test tree.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: