Testing methodology

By following four basic guidelines, you can incorporate HCL OneTest API into your testing methodology. These guidelines drive efficient and expedient integration testing, and they can be applied to your testing process and infrastructure requirements.

  • Test early and often: Testing earlier in the lifecycle means that defects are less expensive to resolve. Because integration tests run much faster than normal automated UI tests, you can plan to run regression test cycles as often as is necessary. HCL OneTest API is designed to work with most of the popular continuous integration tools, such as Jenkins.
  • Evolve your tests and stubs as you progress through the lifecycle: You can use HCL OneTest API for initial testing and begin by creating very simple tests and stubs. These test assets (test, stubs, and data) can be passed along to teams further down the lifecycle who can enhance the basic tests to ensure that they reflect live environments. This process ensures consistency and efficiency in the automation test cycle. Use test assets to create test suites, templates, and stubs.
  • Plan for flexibility by stubbing strategically: The virtualization (stubbing) capabilities mean that testers and test managers can think differently about their approaches. They can plan to mitigate the unavailability of interfaces to test against. For example, if the risk of environment unavailability for a particular interface is high, you can plan to stub the interface before the environment becomes unavailable. This means that when the inevitable happens, testing can continue. Efficient planning with stubs promotes test environment agility.

You can find the following information about the testing methodology: