This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Introducing Test Automation Framework

Enterprises today need to deliver high quality software within a short period of time with minimal effort. Test automation is one of the core means to increase your velocity, test efficiency and enable faster delivery. The WSO2 way of agile practice relies on faster feedback, which is achieved by testing each change incrementally. Robust automation solutions can relieve you of many challenges in the software development.

In order to address the complexity of the platform test automation, WSO2 falls far beyond the traditional automation mindset of automating testable scenarios. A single framework was needed to handle the complexity and perform maximum coverage with the limited number of test cases we have.

WSO2 Test Automation Framework (TAF) is an automation framework that performs equally in all stages of the deployment lifecycle.

Test automation ensures the quality of products, verifies the functionality of features, and ensures that the newly added features/components integrate well with the existing ones. At WSO2, test automation focuses on the following execution scenarios. Most of the time, a single test case will execute on all of the following execution modes. Tests are designed to run on a nightly build.

  • Integration tests - Verify the product at the build level. Tests get executed on user mode/tenant module in standalone product execution mode.

  • Platform tests -  Verify the scenarios that integrate multiple WSO2 products or different platforms.

The targeted user group would be the developers, so the main target is to provide an easy to use framework to automate encapsulating all the complexity behind automating the particular functionality.

TAF simplifies the process by providing the following functionality:

  • Simple automation context API

  • Platform wide test execution support

  • Annotation based test execution management support

  • Test reports and coverage report generation

  • Third party test tooling integration support (Jmeter)

  • Selenium webdriver integration and ability to run UI tests to cross browser environments

  • Framework extensibility capability through pluggable modules

  • Configured admin services as test-oriented API

  • Easy retrieval of environment variables and third party configurations