Test Framework Selection

Hi,

I am looking for a testing framework.

We currently have a home Perl script that goes through the input files, invoking an AWK script, which in turn connects to the server, then collects the result and compares it with the saved output file. This is done on Linux. More than 100 tests are currently underway. We are planning a major refactoring, and I want to update the test system and tests first.

Regarding infrastructure requirements, I want a system that can logically collect tests into test packages, automatically detect test files, and create test prerequisites / dependencies. I watched QMTest and the Google Robot Framework. I would rather expand the existing system than do the heavy lifting of a very small Perl script, which now passes the tests. Perl is not a requirement. Actually, I would prefer to use Python rather than Perl, but this is a personal opinion.

I am browsing http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks for possible frameworks.

thanks

+4
source share
3 answers

You said you looked at the Google Robot Framework, so I'm not sure if you are talking about the same thing or not, but there is a structure called a robot framework that does not belong to Google. It allows you to write scripts using keywords, and custom keywords can be implemented using Python and Java, as well as with any .NET language. Note. You cannot directly mix .NET and java keywords, since .NET keywords must be launched using IronPython, and java keywords need Jython. However, there is a way to write keywords in any language and access them through the remote API.

It has some very nice features, such as XML tagging and output, as well as many tools and libraries. I highly recommend it.

http://code.google.com/p/robotframework/

+4
source

Go for quick and easy.

For example, I really like the tests in Go https://go.googlecode.com/hg/test/ and their https://go.googlecode.com/hg/test/fixedbugs/ and https: //go.googlecode. com / hg / test / bugs / directories.

Shell is much faster than Python, and much easier to port.

0
source

Selenium maybe what you are looking for?

-1
source

Source: https://habr.com/ru/post/1300638/


All Articles