Test types

The Genero Ghost Client can assist with unit, load, and performance testing.

Unit Tests

Unit testing is a method of testing each feature of your application in isolation to make sure it works as expected.

A unit test should provide you with the anticipated responses to a given set of user input, showing that the feature is able to handle both correct and incorrect input. The following good practices are recommended when designing unit tests:
  • Each 4gl application should have its own scenario.
  • Make a complete list of the application features, from the smallest (for example, displaying the About... screen), to the biggest and / or the most important ones.
  • For each feature in this list, write a single test that will test one (and only one) feature.
  • If a primary feature implies a secondary feature (for example, to register a new customer, you need to fill out a form), the secondary feature's test should take place before the primary feature's test in the test sequence.