Enhanced C#
Language of your choice: library documentation
|
Marks a benchmark test, which exists to test performance. Benchmark tests are often run multiple times to obtain an average running time. More...
Marks a benchmark test, which exists to test performance. Benchmark tests are often run multiple times to obtain an average running time.
This attribute does not exist in NUnit.
Properties | |
int | RepeatForMs [get, set] |
Gets or sets the recommended minimum length of time to run the test. The test runner will run the test repeatedly until the total time elapsed exceeds this number. More... | |
int | MinTrials [get, set] |
Gets or sets the recommended minimum number of times to run the benchmark in order to get an average. If this property is left at the default value (null), the test runner can decide. More... | |
Properties inherited from Loyc.MiniTest.TestAttribute | |
string | Description [get, set] |
Descriptive text for this test More... | |
bool | AllowParallel [get, set] |
Indicates whether this test can be run in parallel with other tests in different test fixtures. More... | |
int | MaxParallelThreads [get, set] |
object | Fails [get, set] |
Setting this property is used to indicate that the test is known to fail. It is used to mark tests that should be fixed eventually, but will not be fixed immediately. More... | |
|
getset |
Gets or sets the recommended minimum number of times to run the benchmark in order to get an average. If this property is left at the default value (null), the test runner can decide.
If RepeatForMs is also specified, the number of trials can be increased to reach the requested running time.
|
getset |
Gets or sets the recommended minimum length of time to run the test. The test runner will run the test repeatedly until the total time elapsed exceeds this number.