Timeline for What are the downsides of this technique that involves randomness?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 17, 2018 at 7:02 | comment | added | dzieciou | That basically boils down to having two types of tests: regression tests and tests for finding new defects. In first, determinism is important, in the latter - randomness (or certain degree of randomness). You can use randomness to discover new defects, new test data and thus new test cases. Then test cases that identified defects can be included in your regression test suite. | |
Aug 9, 2018 at 22:22 | vote | accept | Yu Zhang | ||
Aug 8, 2018 at 22:43 | comment | added | Michael Durrant | If you re-run a test does the same value get generated ? | |
Aug 8, 2018 at 22:40 | comment | added | Yu Zhang | This randomness is not completely random (my own fault for not stating it clearly), it is kind of under control as I can define rules regarding which characters are allowed. Would it still be non-deterministic? | |
Aug 8, 2018 at 22:30 | history | answered | Michael Durrant | CC BY-SA 4.0 |