Release Note
1.3.1
🚀 Highlight Features
- Defined the meanings of the return values in different situations.
0
means success.1
means test failed.2
means invalid AS file.>2
means configuration error.
🚀 Improvements
- Proper handling of situations where AS files are not invalid.
1.3.0
🚀 Highlight Features
- Provides more command line options for finer-grained control of test cases.
- Deprecate
--testcase
, replace with--testFiles
. - Add
--testNamePattern <name pattern regex>
. - Add
--onlyFailures
flag to re-run last failed test cases. - Deprecate
endTest()
.
- Deprecate
- Provides clearer log for user.
- Expose the framework's
log
function in the configuration file, and the logs redirected to this function will be appended to the final test report. - Support test crashes and provide good call stack information.
- Expose the framework's
🚀 Improvements
- Code coverage calculation.
- Skip type definitions.
- Treat switch case correctly.
- Reduced test execution time and memory overhead.
🔄 Arch Changes
- During testing, the framework will execute all
test
functions once, but will not trigger callbacks, thereby collecting all test cases and then executing the test cases in sequence. - Move lots of framework logic from Assemblyscript to Typescript to reduce the WASM linear memory usage and improve the performance.