feat: support stress testing#1031
Conversation
coder3101
left a comment
There was a problem hiding this comment.
Awesome! Left some comments please provide your feedback
|
I haven't tested it at local yet. But from the screen record, it seems that more features are needed to make it more useful than a shell script. See #162 (comment).
By "testlib style", do you mean generators that take command-line arguments? I don't think we need to force this style. Now we provide the Polygon functionality to feed random arguments to the generator, and testlib-style generators can make use of these arguments. But the user can keep the arguments empty and generate different test cases with the same empty arguments. And if we don't restrict the style, we can also support Python/Java generators. |
I think in the no argument mode, we could let it run until it’s manually stopped, and display both the number of test cases that have been run and the elapsed time? |
ouuan
left a comment
There was a problem hiding this comment.
- Some text/translation issues
- Elapsed time should pause on the counter example dialog
Co-authored-by: Yufan You <ouuansteve@gmail.com>
Co-authored-by: Yufan You <ouuansteve@gmail.com>
Co-authored-by: Yufan You <ouuansteve@gmail.com>
Co-authored-by: Yufan You <ouuansteve@gmail.com>
Co-authored-by: Yufan You <ouuansteve@gmail.com>
…into stress-testing
|
Generator and std chosen from tabs should be automatically saved depending on |
|
Thanks for sticking around and driving this to completion. |
Description
Support stress testing.
Related Issues / Pull Requests
Closes #917
cpeditor/cpeditor.github.io#366
Motivation and Context
How Has This Been Tested?
macOS 12.0.1
Screenshots (if appropriate)
Screen.Recording.2022-01-01.at.8.42.27.PM.mov
Checklist
oldattribute is updated or it is resolved in SettingsUpdater.tr()orQCoreApplication::translate().Additional text
It is almost the same as Polygon's, so only testilb style generators are supported.