Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

This directory contains integration tests that test CKB binary. It does not contain unit tests, which can be found in /network/src/tests, etc.

Running tests locally

Before tests can be run locally, CKB binary must be built. See the build from source & testing for help.

The following command assumes that CKB binary is built as ../target/release/ckb and starting node on port 9000:

cargo run

Run specified specs:

cargo run -- --bin ../target/debug/ckb spec1 spec2

See all available options:

cargo run -- --help