Skip to main content

Veritran Docs

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, navigate to your app's context after logging in and go to Branch Actions > 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:

  1. Creating the scenario you need in order to test the process.

  2. Creating the unit test that will use the data in that scenario to test the process.

  3. Running the unit test and analyze the results.

  4. If the unit test yields errors, fixing them using the Lambda editor.

  5. Re-running the unit test as many times as needed.