ssb-integration-tests

1.0.0 • Public • Published

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

/ssb-integration-tests/

    Package Sidebar

    Install

    npm i ssb-integration-tests

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    11.1 kB

    Total Files

    14

    Last publish

    Collaborators

    • powersource
    • arj03
    • staltz
    • mixmix
    • cel
    • dominictarr