-
Notifications
You must be signed in to change notification settings - Fork 4
Run from code
Mehrdad Abdi edited this page Mar 1, 2020
·
2 revisions
An example presented in SmallAmp class>>#example
method.
For running SmallAmp using default config:
| result |
result := SmallAmp initializeDefault
testCase: SmallBankTest targets: {SmallBank};
testCase: SmallBank2Test targets: {SmallBank2};
amplifyAll.
result inspect.
| config result |
config := SAConfig default.
config iterations: 5.
result := (SmallAmp initializeWith: config)
testCase: SmallBankTest targets: {SmallBank};
testCase: SmallBank2Test targets: {SmallBank2};
amplifyAll.
result inspect.
name | description | default |
---|---|---|
statementTimeOut | Time out to execute a single statement (ms) | 2000 |
testRunTimeOut | Time out to execute a test run (ms) | 10000 |
lite | Lite amplification. Just assertion amplification and selection | false |
iterations | Number of iteration in algorithm | 3 |
flackyTestRepeat | Number of rerun tests to detect flakiness | 3 |
debug | Debug mode. | false |
inputAmplifiers assertionAmplifiers selections oracleReducions profiler methodReductions |
customize internal modules | Check the code! |