Synapse-NG has a comprehensive test suite that covers all aspects of the system, from the core networking components to the high-level application logic. The tests are designed to be run in a Docker environment to ensure a consistent and reproducible testing process.
To run the complete test suite, use the following command:
./test_suite.sh
This will run all of the tests in the suite, including tests for the base network, governance, economy, and common tools.
You can also run specific subsets of the test suite by passing arguments to the test_suite.sh script.
./test_suite.sh base: Runs the base network tests only../test_suite.sh governance: Runs the governance tests only../test_suite.sh economy: Runs the economy tests only.For more specific testing, you can use the following scripts:
./test_common_tools_experiment.sh: Runs the common tools tests../test_immune_system.sh: Runs the immune system tests.The test suite covers the following scenarios: