Skip to content

Latest commit

 

History

History
 
 

sdk-harness

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Building & running the sway-lib-std tests

Building test projects

Compile all the Sway programs in the workspace as follows:

# from project root
cargo run --bin=forc build --path test/src/sdk-harness

This will build all contracts and scripts under the sway/test/src/sdk-harness directory. After a successful build of all the projects:

cargo test

For more on the usage of Forc for testing, see: https://fuellabs.github.io/sway/latest/forc/commands/forc_test.html