Selenium Testing with TestNG Framework
Philip Matusiak | Posted on |
DRM Development creates Selenium Automation Testing with support of the TestNG framework to optimize reporting and testing of large scale cloud applications. Contact us for development solutions or read more about TestNG below.
TestNG is a testing framework for the Java programming language. The design goal of TestNG is to cover a wider range of test categories: unit, functional, end-to-end, integration, etc., with more powerful and easy-to-use functionalities.
TestNG’s main features include:
- Annotation support
- Support for parameterized and data-driven testing
- Support for multiple instances of the same test class
- Flexible execution model. TestNG can be run either by Ant via build.xml (with or without a test suite defined), or by an IDE plugin with visual results
- Concurrent testing: run tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc.), and test whether the code is multithread safe
- Embeds BeanShell for further flexibility
- Default JDK functions for runtime and logging (no dependencies)
- Dependent methods for application server testing
- Distributed testing: allows distribution of tests on slave machines