mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 12:17:35 +00:00
![]() Tests defined like RANDOMIZED_TEST_CASE(test_name) { GEN(dice, Gen::unsigned_int(1,6)); EXPECT(dice >= 1 && dice <= 6); } will be run many times (100x by default, can be overriden with MAX_GENERATED_VALUES_PER_TEST), each time generating different random values, and if any of the test runs fails, we'll shrink the generated values and report the final minimal ones to the user. |
||
---|---|---|
.. | ||
Randomized | ||
CMakeLists.txt | ||
CrashTest.cpp | ||
CrashTest.h | ||
JavaScriptTestRunner.h | ||
JavaScriptTestRunnerMain.cpp | ||
Macros.h | ||
Results.h | ||
TestCase.h | ||
TestMain.cpp | ||
TestResult.h | ||
TestRunner.h | ||
TestRunnerUtil.h | ||
TestSuite.cpp | ||
TestSuite.h |