sodium-test
Test harness for Javascript libsodium implementations
Last updated 2 months ago by chm-diederichs .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sodium-test 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.10.0                                ...           latest (2 months ago)

16 Versions

  • 0.10.0                                ...           2 months ago
  • 0.9.0                                ...           5 months ago
  • 0.8.1                                ...           7 months ago
  • 0.8.0                                ...           9 months ago
  • 0.7.2                                ...           3 years ago
  • 0.7.1                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.0                                ...           3 years ago
  • 0.5.1                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
  • 0.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 11
Last Month 6
Dependencies (2)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |