/tests
Tests API is for having programmatic test reporting for confidence and/or integration in to your own CI/CD systems.
Retrieve tests
Tests for any Swallow pricing project version can be downloaded in bulk for either offline analysis or to run through other CI/CD systems.
The result is what the Swallow pricing project calculates. The output is what is expected (this might be generated via offline Excel rater or other pricing tools). If the result and output match, then the project is pricing as expected.
There can be thousands of tests stored against each project version.
Offline pricing analysis
Tests are stored against each project version. This means you have a historic record of how the price has changed based on the test scenarios. You can use this movement to understand how pricing has changed over time.
First fetch all project versions via:
then hit the test endpoint to return all the test cases per project
You will now have all the information needed to plot pricing changes over time and even pivot via input values.
Running tests
There is no endpoint to run tests as this is all done in the browser. This means the tests must be first run within the platform via the UI as part of the project version changes.
Last updated