ssb-integration-tests
integration tests that can check any two sbot implementations are compatible
Last updated 3 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ssb-integration-tests 
SYNC missed versions from official npm registry.

ssb-integration-tests

integration tests that can check any two sbot implementations are compatible

all tests are driven via the command line interface and the implementations are running as processes, so these tests should be usable even for other implementations.

usage

clone this, then run

./scripts/install.sh install_all # install all sbot version >= 10
./test/01_load.sh path_to_test_sbot versions/*/bin

currently there is only one test. but it loads deterministic random data into the test sbot, then reloads it in every other sbot version, and checks that they

tests

load

generate messages deterministically, load into sbot instance read that data back out using createLogStream, friends.hops, links, and latest output must match exactly

TODO

  • efficient visualization of tests against version

License

MIT

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |