Quality Assurance
Quality Assurance is a Veritran Studio feature that helps you to apply Test-Driven Development (TDD) in the process of building your apps. It uses scenarios and unit tests to validate the logic of your Lambda processes.
Scenarios are sets of data designed specifically to provide the Lambda process that will be tested with the input data it requires. They may include the values of registers, arrays, Call APIs and transactions.
Unit tests are tools that can validate that, in the context of a specific scenario, a Lambda process works as intended and yields the expected results.
Access and navigate
To access Quality Assurance, go to Global > Applications, find the card of the app you want to work with, click More options (three-dot icon) and select Quality assurance.
The Quality Assurance page opens in the Unit tests tab, where you can see the list of unit tests available, run them, or create new ones. To see all scenarios available and create new ones, click Scenarios.
Test Lambda Processes
Testing Lambda processes using the Quality Assurance feature typically involves the following steps:
Creating the scenario you need in order to test the process.
Creating the unit test that will use the data in that scenario to test the process.
Running the unit test and analyze the results.
If the unit test yields errors, fixing them using the Lambda editor.
Re-running the unit test as many times as needed.