Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

TL;DR run these tests before every commit

...

Run this line before you do a PR. If there is a FAIL not all PASS at the end fix your code or fix the issue with the integrations test script. Jeremy Busk will be glad to help.

Code Block
sudo sbt -Dsbt.log.noformat=true clean rholang/bnfc:generate casper/test:compile node/docker:publishLocal && sudo ./scripts/p2p-test-tool.py -b -t

The docker images stay up so you can login and run commands unless they fail.

You can always do docker logs bootstrap.rchain.coopdocker logs peer0.rchain.coop or docker logs peer1.rchain.coop to get logs after container failure and shutdown.


Getting Started with RChain P2P Networked Nodes Testing Tool 

Note: This is first release and will be getting updates soon. We'll be adding Python unittest library and refactoring for optimization and easier adding of tests.

...