You can run a local development node by running npm start
.
The command will start two docker containers, a postgres and the blockchain using Chromia CLI.
On Windows you have to run a separate command npm run start:windows
.
You can run all tests by running npm test
.
You can also filter and run specific tests with a filter npm --filter="test_register*" test
. The rules for the filter is the same as the ones defined by Rell.
The new option accepts a comma-separated list of glob patterns, supporting wildcard characters ? and *.
Patterns are compared with: MODULE, MODULE:NAMESPACE.FUNCTION, NAMESPACE.FUNCTION, FUNCTION (i. e. function
"my_module:ns.test_foo" can be specified via patterns: "test_foo", "ns.test_foo", "my_module:ns.test_foo").
See blockchain logs
docker logs -f --tail 250 mna_blockchain
Run Rell benchmark test:
chr test -s rell-benchmark.yml --no-db