Automated testing framework comparison

Robot Framework

Link: http: //robotframework.org/

Robot Framework (RF) for acceptance testing and acceptance test-driven development (the ATDD) automated testing framework. Based in Python, but can also be run on Jython (Java) and IronPython (.NET), providing cross-platform support (Windows, Linux or MacOS).

advantage:

The method simplified by using keyword-driven testing (KDT) automated testing process, testers create easy-to-read test.

Test data syntax is easy to use.

Rich ecosystems. From a variety of general-purpose test libraries and tools, these tools are developed as a separate project.

Highly scalable.

Test may be performed in parallel or by pabot Selenium Grid.

Disadvantages:

Custom HTML report more trouble.

If it is for a wide range of libraries and extensions of KDT automated testing, it is recommended to use this cross-platform framework. If you want to add a new keyword (via RF test library API), you need to have basic knowledge of Java / Python / C language.

RedwoodHQ

Link: http: //redwoodhq.com/

RedwoodHQ is a popular tool for automated testing, it is so popular is because most of the popular programming language can be used to write tests, such as Java, Python, C # and so on. RedwoodHQ on the web interface, multiple testers can collaborate on one platform and run test cases. Developers can effortlessly create and modify test cases using action keywords that appear in RedwoodHQ.

You need to do is find the action required, drag test box, and then enter parameters and change their values ​​to generate a complete test report. RedwoodHQ have a built-in IDE (Integrated Development Environment), where you can create, modify and run test cases. RedwoodHQ is one of the most user-friendly or testers most friendly platform, it concerns all the testing process of a major project.

Jasmine

Link: https: //jasmine.github.io/

Jasmine is a JavaScript unit testing framework, also referred to as JavaScript behavior driven development (BDD) testing framework. For the web, Node.js project or any place to run JavaScript. It is mainly used in pairs with AngularJS.

advantage:

In addition to JavaScript, you can also run Python and Ruby. If you want your server to run the client test, it can help you.

It is used and supported by many CIs.

Built-in syntax for the assertion.

Disadvantages:

In most cases, it requires a test run (such as Karma).

Asynchronous difficult test.

If you are looking for a single (client - server) unit test solutions, Jasmin may be very suitable.

Pytest

Link: https: //docs.pytest.org/en/latest/

If your project is relatively small, relatively low complexity, Pytest is most suitable for automated testing platform. pytest python is a unit testing framework, similar to that comes python unittest testing framework, but simpler to use than unittest frame, more efficient. According to pytest's official website, which has the following characteristics:

Very easy to use, entry is simple, rich document, the document There are many examples can refer to

It can support a simple unit testing and functional testing of complex

Supports parameterized

Test is performed during certain tests may be skipped, or the case of certain expected failure marked Failed

Support to repeat the failed case

Support the operation by the nose, unittest test case writing

It has a lot of third-party plug-ins, and can be custom extensions

Convenient and continuous integration tool integration

Pytest there are a variety of available plug-ins to add more functionality and versatility to existing testing techniques and test cases. In fact, there are more than 300 plugins available in its active community. The platform is designed to write simpler, smaller code error rate. You may be used together with Pytest such as Selenium and Splinter like graphical user interface, to make testing easier.

Epilogue

For any programming language, it is not absolutely ideal testing framework. It depends on the type of test required for a particular module comfort testers, project requirements and projects. Available automated linear automated testing framework, based on the test, the test frame library, mixing the test module, and a data driver driving keyword testing. Each frame has its advantages and disadvantages. Listed above python framework is the performance of the most comprehensive automated testing framework.

Guess you like

Origin www.cnblogs.com/yaoteng/p/10979005.html
Recommended