Skip to content

Generator of QA assets for Simplicity testing.

License

Notifications You must be signed in to change notification settings

delta1/asset-gen

 
 

Repository files navigation

Simplicity QA Asset Generator

Generate the assets

Run the main method to generate the file script_assets_test.json.

cargo run

Build Elements Core

Clone Elements Core and switch to the Simplicity branch.

git clone git@github.com:ElementsProject/elements.git
cd elements
git checkout simplicity

Configure your development environment. Cough, there is an easy way using nix, cough.

Then build Elements Core.

./autogen.sh
./configure
make # use "-j N" for N parallel jobs

Use the assets

First, build Elements Core for testing.

Then run the unit test assets using the test runner.

DIR_UNIT_TEST_DATA=../asset-gen ./src/test/test_bitcoin --log_level=warning --run_test=script_tests

The variable DIR_UNIT_TEST_DATA selects the directory in which the file script_assets_test.json is located.

About

Generator of QA assets for Simplicity testing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%