Changes for page Testing Concurreny
Last modified by chrisby on 2023/11/30 21:29
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,10 +6,7 @@ 6 6 7 7 #### Solution Approaches 8 8 9 -* Monte Carlo Testing 10 - * Write flexible, adaptive tests. 11 - * Run them repeatedly on a test server, randomly varying the test settings. 12 - * If something fails, the code is broken and the settings used should be logged. 9 +* **Monte Carlo Testing**: Write flexible, adaptive tests that can be executed with a variety of test settings, such as the number of threads used, types of operations, order of operations, and so on. Run these tests repeatedly on a test server, randomly varying the test settings. If something fails, then there is a problem with the code, and the settings used should be logged. 13 13 * Do this early to gain tests ASAP for your test repertoire or CI server. Run tests on each platform over time to either confirm the correctness of the production code or to uncover bugs in the test code. 14 14 * Run the tests on a single machine, simulating application loads whenever possible. 15 -* There are tools for testing thread-basedcode, such as ConTest.12 +* There are tools for testing concurrent code, such as ConTest.