-
Notifications
You must be signed in to change notification settings - Fork 116
Home
Testing: https://github.com/OLSF/libra/wiki/Testing-0L
Local Dev Net: https://github.com/OLSF/libra/wiki/Start-a-network-locally-(libra-swarm)
Connect Client: https://github.com/OLSF/libra/wiki/Connect-a-client-to-network
Install Ubuntu OS dependencies
. ./util/setup.sh
Build everything
cargo build --all --bins --exclude cluster-test
Functional tests
cd language/move-lang/functional-tests && cargo test 0L
E2E tests
cd language/e2e-tests && cargo test ol
Start swarm, storing configs to temp:
cargo build -p libra-node -p cli && NODE_ENV="test" cargo run -p libra-swarm -- --libra-node target/debug/libra-node -c swarm_temp -n 1 -s --cli-path target/debug/cli
Note: use absolute path with swarm_temp
Connect a client
cargo run -p cli -- -u http://localhost:8080 --chain-id 1 --waypoint <waypoint>
How to tests the debug-net
Run our demos:
https://github.com/OLSF/libra/wiki/Getting-Started-with-Move:-Persistence
A good guide to Move Language: