To effectively test the Potatso network,follow this organized approach:
-
Start the Test Server: Begin by running
potatso testto launch the test server. -
Run Specific Test Cases: Use the command
potatso test --name=<test_name>to execute a specific module or function. For example,potatso test --name="io"will test theiomodule. -
Run Tests in Parallel: To enhance efficiency, use
potatso test --parallelto run tests concurrently. -
Define Test Cases: Use the
testcommand to create test cases with descriptions. Example:test --name="io" --description="Test IO module" -
Save Results: Potatso saves test results in a directory named after the test case. Access these files later.
-
Handle Timeouts: Configure timeouts using
potatso test --wait=<seconds>to manage test execution. -
Explore Advanced Features:
- CI/CD Setup: Use
test --devto automate testing for CI/CD pipelines. - Test Runner: Consider using
potatso test runnerfor convenience.
- CI/CD Setup: Use
-
Documentation and Community: Refer to the official documentation and community resources for guidance and troubleshooting.
By following these steps, you can systematically test Potatso, ensuring its functionality and reliability.








