All Projects → linuxkit → rtf

linuxkit / rtf

Licence: Apache-2.0, Unknown licenses found Licenses found Apache-2.0 LICENSE Unknown LICENSE.rt-elevate
Regression testing framework

Programming Languages

go
31211 projects - #10 most used programming language
python
139335 projects - #7 most used programming language
shell
77523 projects
Makefile
30231 projects
powershell
5483 projects

Projects that are alternatives of or similar to rtf

Recheck Web
recheck for web apps – change comparison tool with local Golden Masters, Git-like ignore syntax and "Unbreakable Selenium" tests.
Stars: ✭ 224 (+540%)
Mutual labels:  testing-tools, testing-framework
api-test
🌿 A simple bash script to test JSON API from terminal in a structured and organized way.
Stars: ✭ 53 (+51.43%)
Mutual labels:  testing-tools, testing-framework
oz
Oz is a behavioral web-ui testing framework developed to reduce test maintenance by using a predictive model rather than a scriptive model when writing tests.
Stars: ✭ 23 (-34.29%)
Mutual labels:  testing-tools, testing-framework
Acot
💎 Accessibility Testing Framework. More accessible web, all over the world.
Stars: ✭ 112 (+220%)
Mutual labels:  testing-tools, testing-framework
eaf-linter
🤪 A linter, prettier, and test suite that does everything as-simple-as-possible.
Stars: ✭ 17 (-51.43%)
Mutual labels:  testing-tools, testing-framework
Swagger meqa
Auto generate and run tests using swagger/OpenAPI spec, no coding needed
Stars: ✭ 151 (+331.43%)
Mutual labels:  testing-tools, testing-framework
IO-TESTER
A functional test framework
Stars: ✭ 32 (-8.57%)
Mutual labels:  testing-tools, testing-framework
Karate
Test Automation Made Simple
Stars: ✭ 5,497 (+15605.71%)
Mutual labels:  testing-tools, testing-framework
nim-contra
Lightweight Self-Documenting Design by Contract Programming and Security Hardened mode.
Stars: ✭ 46 (+31.43%)
Mutual labels:  testing-tools, testing-framework
PixelTest
Fast, modern, simple iOS snapshot testing written purely in Swift.
Stars: ✭ 56 (+60%)
Mutual labels:  testing-tools, testing-framework
Nose2
The successor to nose, based on unittest2
Stars: ✭ 665 (+1800%)
Mutual labels:  testing-tools, testing-framework
extensiveautomation-server
Extensive Automation server
Stars: ✭ 19 (-45.71%)
Mutual labels:  testing-tools, testing-framework
Deepstate
A unit test-like interface for fuzzing and symbolic execution
Stars: ✭ 603 (+1622.86%)
Mutual labels:  testing-tools, testing-framework
Vividus
Vividus is all in one test automation tool
Stars: ✭ 170 (+385.71%)
Mutual labels:  testing-tools, testing-framework
Selenium Wire
Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser.
Stars: ✭ 531 (+1417.14%)
Mutual labels:  testing-tools, testing-framework
eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (+17.14%)
Mutual labels:  testing-tools, testing-framework
sbml-test-suite
The SBML Test Suite is a conformance testing system. It allows developers and users to test the degree and correctness of the SBML support provided in a software package.
Stars: ✭ 21 (-40%)
Mutual labels:  testing-tools, testing-framework
Awesome Unit Testing Swift
A curated collection of awesome blog articles, books, talks, podcasts, tools/frameworks and examples.
Stars: ✭ 272 (+677.14%)
Mutual labels:  testing-tools, testing-framework
test junkie
Highly configurable testing framework for Python
Stars: ✭ 72 (+105.71%)
Mutual labels:  testing-tools, testing-framework
karate
Test Automation Made Simple
Stars: ✭ 6,384 (+18140%)
Mutual labels:  testing-tools, testing-framework

RT Framework

A regression testing framework

This project contains a generic, cross-platform regression test framework.

The generic regression test framework is implemented in Go whereas the test are written as shell scripts. The library code is in the rt directory and some common utilities and helper programs are contained in the utils directory.

  • rtf - a local test runner

For more details, see the documentation in ./docs/USER_GUIDE.md.

Installation

go get -u github.com/linuxkit/rtf

Development

To run the test suite please use:

make test

Prerequisites

On a Mac and Linux, this should pretty much just work out of the box. The tests are written in sh and expect it to be installed in /bin/sh. Some optional utilities (see ./bin) are written in python and if your tests use them, you need to have python installed.

On Windows, it depends on how your tests are written. If they are written as powershell scripts, rtf should just work. If they are written as shell scripts, you need to have the MSYS2 variant of bash installed and bash.exe must be in your path. The simplest way to install it is to install git via chocolatey. Note, neither bash from WSL nor cygwin is currently supported.

choco install git

If your tests use the optional utilities in, you also need to install python:

choco install python

Quickstart

The regression test framework allows running tests on a local host (or inside a VM) as well as against a suitably configured remote host.

If you don't have the source code in your GOPATH, you may have to set the RT_ROOT environment variable to point to it.

To run tests locally, simply execute the rtf run command. It will executed all the test cases in the supplied cases directory. This defaults to ./cases

To list all current tests run rtf list, or to get a one line summary for each test use rtf info.

When running tests, by default a line per test is printed on the console with a pass/fail indication. Detailed logs, by default, are stored in ./_results/<UUID>/. In that directory, TESTS.log contains detailed logs of all tests, TESTS.csv contains a line per test, SUMMARY.csv contains a one line summary of the all tests run, and SUMMARY.json contains both a test summary and the individual test results. The directory also contains a log file for each tests, with the same contents as TESTS.log.

If you prefer a bit more information in the log files use:

rtf -v run -x

This executes the tests with -x, logging all commands executed to stderr; and with -v, causing stderr to be displayed to the console.

For a CI system, where the output is displayed on a web page use:

rtf -vvv run -x

This prints the same information logged to the log file to the console.

There is initial support for comparing the result from two test runs:

rtf compare <path to SUMMARY.json> <path to SUMMARY.json> ...

which will display the results side by side.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].