A simple test kits for LiteRT packages, based on Node.js.
- TypeScript v5.5.0 (or newer)
- Node.js v20.13.1 (or newer)
npm i @litert/test-cli --save
See the example directory.
And use command li-test
to run the test cases.
npx li-test path/to/dir1 path/to/dir2 ... # test all cases in file .test.ts
npx li-test --filter 'tag==hello' path/to/dir1 path/to/dir2 ... # test cases with tag 'hello'
Preparing...
This library is published under Apache-2.0 license.