E2E Personas regression test set - NextensArelB/SwaggerGenerationTool GitHub Wiki

A Persona is a fictional character, which is created to represent the different customer types that are using our applications or is used in our applications.

The objective of the E2E Personas regression test set is: To validate that, after each change, the application is still accessible from an end user point of view, that it is possible to:

  • Create an 'Aangifte'
  • Enter data in all relevant screens for a given Persona
  • Complete the 'Aangifte'
  • Send it to the tax authorities

The E2E test has not the objective to validate calculations or to perform functional testing, most of these types of tests are covered by the Unit test. It could be that when Unit tests and E2E tests are automated, a GAP analysis is performed to determine if additional automation is required, as it is not covered by either the Unit test or the E2E test.

Steps to come to E2E Personas regression test set

  1. Identification of the relevant aspects of the application (e.g. status of a person) and for those aspects the possible classes (e.g. married, single, etc)
  2. Using the classification tree method to determine the Personas, where aspects and classes are combined in a logical way and where every class is at least covered once
  3. Determine per Persona what output will be validated, this could differ per Persona. The validation should be as little as possible be a validation on actual calculations or numbers in order to avoid maintenance when static data as tax % are changing (and this is mostly already covered by Unit Tests) and will be more on the availability of an element (e.g. when the Persona has a Partner then the Partner column should be available) or availability of an input (e.g. when there is 'eigen woning' then there should be a value in the 'eigen woning' field)
  4. Translate the Personas into physical data within the application, manual execute and validate the result
  5. Automation of the E2E Personas scenarios
  6. Code review of the E2E Personas scenarios
  7. Functional review of the E2E Personas scenarios
  8. Add the E2E Personas scenarios to the pipeline
⚠️ **GitHub.com Fallback** ⚠️