Need advice about which tool to choose?Ask the StackShare community!
Robot Framework vs TestNG: What are the differences?
What is Robot Framework? A test automation framework for acceptance testing and ATDD. It is a generic test automation framework for acceptance testing and acceptance test-driven development. It has easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach. Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new higher-level keywords from existing ones using the same syntax that is used for creating test cases.
What is TestNG? A testing framework inspired from JUnit and NUnit. It is a testing framework designed to simplify a broad range of testing needs, it covers all categories of tests: unit, functional, end-to-end, integration, etc.Run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc.
Robot Framework and TestNG can be primarily classified as "Testing Frameworks" tools.
Pros of Robot Framework
- Easy with CI/CD13
- Open Source10
- Simple Usage8
- Easily extendable6
- Vast Scope more than Front End6
- Fast6
Pros of TestNG
Sign up to add or upvote prosMake informed product decisions
Cons of Robot Framework
- Nested Loops7
- Mostly for python1