- Fix: corrected JUnit report failure message formatting to use CDATA sections.
- Fix: made opts param optional in
throwsandthrowsAsync
- Fix: fixed TS definition for
test.skip
- Fix: added missing
test.skipto index.d.ts
- Cleaned up source code, added prettier
- Fix: incorrect RegExp for matching test files that was added in 1.6.9
- Added
test.mock()to mock library methods on a global level - Added
test.solo()to run only a single test - Added
test.skip()to skip individual tests - Re-added support for 'test.js' and 'tests.js' in root directory
- If no tests were ran, it will no longer report 'Ran 0 tests ran successfully!', but rather 'No tests were ran.'
- Added warning to error messages when a non-Error object is caught. Stack information is not available in this case.
- Added
t.mock()to mock library methods per individual test - CLI: current file name in test feedback gets prepended with its directory name if it's not unique
- Added
test.skipFile()to skip files from being run - Config:
concurrencyoption to disable parallel test file execution
- Added
tapreporter support - Fixed JUnit file naming convention, allowing for multiple test files with the same name in different directories
- Added logging for skipped tests
- Improved file detection in exceptions
- Added NPM badge to README
- Increased code coverage to > 97%
- Before/after tests are now always in report + file name is now in report
- Changed skip logic in error reporting
- Improved error reporting
- Added reporting! The only supported reporter is JUnit for now.
- Added
before,after,beforeEachandafterEachhooks - Exposed
AssertsTypeScript interface - Fixed issue in error line matching
- GitHub Action: CI + Coverage
- Added watch tests / E2E watch tests
- Fixed recursive directory watch not working on Linux
- Fixed Node 14 support by not using fancy
??=syntax anymore
- HUGE speed improvement by running test files in parallel
- In some cases up to 8x faster!
- Prettier test feedback with ✔ and ❌
- Added Config section to README
- Added support for
"aqa"section inpackage.json- Only
verboseis supported for now:
{ "aqa": { "verbose": true } }
- Only
- Added support for globs for
--watch - Added tests to increase code coverage to 95%
- Added color for
-/+difference notations on test failures - Changed
t.is()to report differences similar to the same format ast.deepEqual() - Code split of CLI
- Removed the undocumented
--tapfeature
- Added strict check for the type of the equality param of
deepEqual - Added Coverage documentation to README
- Improved examples in README
- Fixed error line matching in stack traces
- Removed some source code to leverage more of Node's
util.inspect, like BigInt rendering - Caching of Source Maps
- Added Source Map support
- Created this changelog + all entries retroactively
- Added index.d.ts for auto-complete purposes
- Fixed directory watch filter
- Improved clickability of file paths on test fail (Cmd/Ctrl+Click in IDE terminals)
- Added deepEqual getter handling support
- Added JSDoc documentation for auto-completion
- Removed inspect limitations
- Added
t.near()+t.notNear() - Added more granular unit tests
- Reworked watcher, added directory watching
- Fixed
aqa.ignoreusage in extra expected properties
- Fixed issue with Data comparison on dates with a few milliseconds difference
- Re-added ignore dirs that start with a single underscore
- Color helper
- Fixed normalize slashes in file filter
- Added log suppressing via
t.disableLogging() - Minor spelling fixes in README.md
- Added CLI parameters chapter to README.md
- Fixed relative glob matching
- Added small fix to make debugging easier
- Merged JJ's PR
- Improved string difference rendering
- Improved
globalbackup mechanism
globalbackup mechanism, for when (rogue) tests overwrite crucial globals likeconsoleandprocess.
- Added
test.ignoreExtra(obj)to only compare the properties specified by the obj and ignore the rest.
- Improved JSON diff by using Node's
util.inspect() - Duplicate test case name detection
- stdout + stderr merge
- Fixed 0 == -0 equality
- Fixed
deepEqualnot reporting extra or getter properties
- Fixed
deepEqualso it only checks enumerable properties
- Fixed
deepEqualdiff detection for getters
- Added support for many common test file patterns
- Added support for ignores
- Added extra unit tests
- Added support for special numbers like
NaN,Infinityand-Infinity
- Added stricter value checking for
deepEqual
- Updated README with new features and instructions that I forgot for 1.1.12
- Removed superfluous code
- Added common tests
- Added support for RegExp comparison
- Added support for module packages
- Improved error stacktrace
- Added fail tests
- Improved error and success message output
- Smarter file watcher for non test files
- Added
t.log
- Added
--verboseflag - Improved timing information
- Improved terminal colors and formatting
- Updated .gitignore
- Changed install hint to a devDependency
- Made error handling more reliable
- Added
notThrowsandnotThrowsAsync - Added
test.ignoresupport fordeepEqualobjects - Changed 'undefined' detection
- NaN equality check
- Simplified
deepEqual - Added
deepEqualandnotDeepEqual - Added message parameter support for all assert methods
- Added
throwsAsync - Added self-testing
- Added single file/glob run
- Added async test support
- Added fatal error detection
- Added common.js
- Added watch support!
- Added CLI support
- Run all tests in project
- Added assertion documentation
- Added
throws - Added terminal colors
- Added tests
- Added new README.md
- Initial release
- Added
is(),not(),true(),false() - Added CLI test running
- Added unit test to test aqa with itself