crashcourse-platform-create-understanding-flowtesting
Version 1.1 by marijn on 2022/05/10 11:22
Understanding Flow Testing
In this microlearning, we will focus on the positioning of Flow Testing in the eMagiz platform. Should you have any questions, please contact academy@emagiz.com.- Last update: Juli 7th, 2021
- Required reading time: 2 minutes
1. Pre-requisites
- Basic knowledge of the eMagiz platform
- Understand the concept of Unit Testing
2. Key concepts
Unit testing refers to the idea that units of developed code, or in this case integration flows/components, are tested against fit for use. Often these unit tests are run automatically to verify each component, but in this case, the unit test is also supporting the actual development of an eMagiz flows. As we work with flows in eMagiz we call it Flot testing. Flow tests are always combined with specific pieces of elements that make the unit operational, such as test data, test messages, or access to services that produce data. Sometimes specific mock services are used to simulate real-time behavior.
3. Creating Flow tests in eMagiz
Flow tests in eMagiz are created in the Create phase while developing your flow. The key reason is that this will allow the eMagiz developer to validate the correct function of the flow without the need to deploy.- It will speed up the development of the flow itself 2. The flow test allows having a better reference for other team members how the flow should behave 3. The flow test can help to validate the entire integration flow during User Acceptance Testing 4. During issue resolution, the flow test can be reused with the attached test messages to pinpoint issues.
