- Added
--line-numbers
option to push the Code line number to the Testomat.io
TESTOMATIO=11111111 npx check-tests CodeceptJS "**/*{.,_}{test,spec}.js" --line-numbers
- Added
--no-hooks
option to exclude hooks code from the the Code in Testomat.io
TESTOMATIO=11111111 npx check-tests CodeceptJS "**/*{.,_}{test,spec}.js" --no-hooks
- Added support for
test.describe.parallel
annotation in Playwright - Fixed issue for he default Playwright project import
- Added support for
test.fixme
annotation in Playwright
- Fixed using string literal as parameters, added docs for importing parametrized tests
- fixed notification on tests duplication for currently available tests and suites in
--update-ids
- fixed replacing other strings instead of suite titles in
--update-ids
- fixed duplicated test IDs in
--update-ids
- added more debug information in
DEBUG
mode
- Better error handling for update ids
- Fixed importing files without suites in Playwright
- added
DEBUG
mode for additional logging:
DEBUG="testomatio:*" npx check-tests ...
- Fixed importing TestCafe tests
- Fixed importing playwright tests witout suites
- Fixed parsing string literals
- Support of template strings and params in test titles:
Scenario(`parameterized test with ${i} parameter`);
- Fixed using
--no-empty
option
- Added
--no-empty
option to delete empty suites after import
- Fixed
--update-ids
with tags
- CodeceptJS fixed:
can't reading properties of undefined (reading 'name')
- Added QUnit support
- Added
analyzer.addPreset
to include Babel presets - Added API to import analyzer scripts:
const { Analyzer } = require('check-tests');
// ... see Programmatic API in Readme
- Added
--create
option to create a test or suite by ID when they are not found in a project
- Added support to playwright/test
- Parser rewritten to provide complete TypeScript support.
- TypeScript dependencies added
- Fixed breaking types and formatting in
*.ts
files.
- [CodecetpJS] Added support for
Data().Scenatio().tag()
structure
- Added TypeScript support for
--update-ids
,--clean-ids
,--purge
modes - Added
-p
,--plugins
to pass in additional babel plugins:
npx check-tests ... --plugins "@babel/plugin-proposal-optional-chaining"
- Added
--keep-structure
option to prefer source code structure over the structure in Testomat.io - Uses
TESTOMATIO_BRANCH
env variable to import tests to a branch:
TESTOMATIO_BRANCH=dev TESTOMATIO=123456 npx check-tests ...
- Don't mark tests as "detached" when importing a single file
- Fixed
--update-ids
to work on multiple empty JS files
- Fixed
--update-ids
to work on empty JS files
- Fixed
--update-ids
to handle the same test names from different suites
- Fixed
--update-ids
to respect JSON data - Fixed
--clean-ids
to respect string literals
- Fixed
--update-ids
to respect multi-line titles. - Fixed
--update-ids
to update data in string literals.
- Fixed
--update-ids
to work well for tests & suites with same title - Fixed
--update-ids
and--clean-ids
to work with string literals
- Added
--clean-ids
option to remove automatically set ids syncing with a project - Added
--unsafe-clean-ids
option to clean test ids without checking with a project
- Added
--sync
option to toggle to process tests synchronously on backend --update-ids
are now executed as a part of import process, so can be used on a fresh new project.- Added
--no-detach
option to disable marking tests as detached - Readme updated
Added --update-ids
command to automatically set ids for tests already loaded to project
npx check-tests codeceptjs "**.js" --update-ids
- Added support of
TESTOMATIO_PREPEND_DIR
parameter to import tests into a specific suite:
TESTOMATIO_PREPEND_DIR=Automation TESTOMATIO=xxxx npx check-tests codeceptjs "**.js"
- [CodeceptJS, Mocha, Jest, Jasmine] Added support for template strings in test names