sodium-test

Test harness for Javascript libsodium implementations

MIT 18 个版本
安装
npm install sodium-test
yarn add sodium-test
pnpm add sodium-test
bun add sodium-test
README

sodium-test

Test harness for Javascript libsodium implementations

npm install sodium-test

Usage

require('sodium-test')(require('sodium-native'))

The above will test that sodium-native passes all the sodium-test tests and write results in TAP format to stdio.

API

harness(sodiumApi)

Will run tests on sodiumApi and assert whether it conforms to the libsodium API. Individual subAPI's can be tested, and all follow the same pattern, eg. require('randombytes_buf')(sodiumApi).

Findings are written to stdio.

License

MIT

版本列表
0.11.1 2022-01-14
0.11.0 2022-01-14
0.10.0 2020-09-22
0.9.0 2020-06-18
0.8.1 2020-05-01
0.8.0 2020-02-20
0.7.2 2017-11-17
0.7.1 2017-11-17
0.7.0 2017-07-13
0.6.0 2017-06-28
0.5.1 2017-06-19
0.5.0 2017-06-19
0.4.0 2017-06-12
0.3.0 2017-06-07
0.2.0 2017-06-06
0.1.1 2017-04-21
0.1.0 2017-04-11
0.0.0 2017-04-11