All Projects → robotology → robot-testing-framework

robotology / robot-testing-framework

Licence: LGPL-2.1 License
Robot Testing Framework (RTF)

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language
Ada
118 projects
perl
6916 projects
lua
6591 projects

Projects that are alternatives of or similar to robot-testing-framework

unittest expander
A library that provides flexible and easy-to-use tools to parameterize Python unit tests, especially those based on unittest.TestCase.
Stars: ✭ 12 (+0%)
Mutual labels:  test, unit-test
Entwine
Testing tools and utilities for Apple's Combine framework.
Stars: ✭ 306 (+2450%)
Mutual labels:  test, unit-test
Goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 2,943 (+24425%)
Mutual labels:  test, unit-test
Testify
A unit testing framework written in bash for bash scripts
Stars: ✭ 45 (+275%)
Mutual labels:  test, unit-test
mockingbird
🐦 Decorator Powered TypeScript Library for Creating Mocks
Stars: ✭ 70 (+483.33%)
Mutual labels:  test, unit-test
lwc-test
LWC plugins and utilities for testing
Stars: ✭ 39 (+225%)
Mutual labels:  test, unit-test
Httptest
Qiniu httptest utilities
Stars: ✭ 571 (+4658.33%)
Mutual labels:  test, unit-test
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 3,019 (+25058.33%)
Mutual labels:  test, unit-test
qiniutest
Qiniu httptest tool: qiniutest
Stars: ✭ 36 (+200%)
Mutual labels:  test, unit-test
reducer-tester
Utilities for testing redux reducers
Stars: ✭ 19 (+58.33%)
Mutual labels:  test
Robolectric-Instrumentation
Emulation of Android Instrumentation Framework API for Robolectric
Stars: ✭ 27 (+125%)
Mutual labels:  test
osgi-test
Testing support for OSGi. Includes JUnit 4 and JUnit 5 support and AssertJ support.
Stars: ✭ 22 (+83.33%)
Mutual labels:  test
cocoyaxi
A go-style coroutine library in C++11 and more.
Stars: ✭ 2,392 (+19833.33%)
Mutual labels:  unit-test
Test-Assignments
List of test assignments. ⚡
Stars: ✭ 85 (+608.33%)
Mutual labels:  test
kgb
Python function spy support for unit tests
Stars: ✭ 46 (+283.33%)
Mutual labels:  unit-test
xRetry
Retry running tests via Xunit and Specflow
Stars: ✭ 15 (+25%)
Mutual labels:  test
CodeSpecJS
UI Automation Testing without writing a single line of code
Stars: ✭ 16 (+33.33%)
Mutual labels:  test
walrus
🎉 Cli development framework.
Stars: ✭ 17 (+41.67%)
Mutual labels:  test
puppeteer-screenshot-tester
Small library that allows us to compare screenshots generated by puppeteer in our tests.
Stars: ✭ 50 (+316.67%)
Mutual labels:  test
angular-webpack-skeleton
This project is deprecated. Please refer to https://github.com/Ks89/angular-cli-skeleton
Stars: ✭ 16 (+33.33%)
Mutual labels:  test

Release License Build Status Coverage Status

Language Language Language Language Language

Robot Testing Framework

Robot Testing Framework is a generic and multi-platform testing framework for the test driven development (TDD) which is initially designed for the robotic systems. However, it can be used for any TDD system. The framework provides functionalities for developing and running unit tests in a language and middleware independent manner. The test cases are developed as independent plug-ins (i.e., using scripting languages or built as dynamically loadable libraries) to be loaded and executed by an automated test runner. Moreover, a fixture manager prepares the setup (e.g., running robot interfaces, simulator) and actively monitors that all the requirements for running the tests are satisfied during the execution of the tests. These functionalities along with other facilities such as the test result collector, result formatter and remote interface allow for rapid development of test units to cover different levels of system testing (see the block diagram).

robottestingframework-arch

Installation

Robot Testing Framework library does not depend on any external library. The Robot Testing Framework framework has a robottestingframework-testrunner utility (see Running test case plug-ins using robottestingframework-testrunner) to easily run the test cases which are built as plug-ins. Test cases can be organized in test suites using simple XML files. The robottestingframework-testrunner uses TinyXml library for parsing the suite XML files. Robot Testing Framework build system check for the installation of TinyXml and, in case, it cannot find any installed version of TinyXml library, it uses the internal version which is delivered with the Robot Testing Framework.

  • On Linux/Mac: The installation is easy, straightforward and uses the CMake build system.
    $ git clone https://github.com/robotology/robot-testing-framework.git
    $ cd robot-testing-framework
    $ mkdir build; cd build
    $ cmake ../; make
    $ make install  # Optional!
  • On Windows: The installation is easy, straightforward and uses the CMake build system. Get CMake for windows if you have not yet installed. Then simply run the CMake and, set the project (robot-testing-framework) root folder and the desired build folder. Configure and generate project solution for your favorite IDE (e.g. Visual Studio 17). Then open the solution from your IDE and build the project.

Configuration

The only thing you need to configure is the RobotTestingFramework_DIR environment variable so that CMake can find Robot Testing Framework libraries and header files.

  • on Linux/Mac:
    $ echo 'export RobotTestingFramework_DIR=<path to the Robot Testing Framework build director>' >> ~/.bashrc
    $ echo 'export PATH=$PATH:$RobotTestingFramework_DIR/bin' >> ~/.bashrc
  • on Windows:
    C:\> setx.exe RobotTestingFramework_DIR "<path to the Robot Testing Framework build director>"
    C:\> setx.exe PATH "%PATH%;%RobotTestingFramework_DIR%/<Release/Debug>/bin"

Notice: If you have not installed Robot Testing Framework in the standard system path (e.g., on Linux without make install) then You need to expand your system PATH environment variable.

Enabling Python, Ruby, Lua, ... Plugins

To use Robot Testing Framework with other languages,

  • first you need to install their development packages (e.g. for Python on Linux you need python-dev, for Ruby: ruby-dev or for Lua: liblua5.x-dev).
  • then you can enable the desired language into Robot Testing Framework CMake (e.g. ENABLE_PYTHON_PLUGIN=ON for enabling python)
  • compile and build Robot Testing Framework

Tutorials and Examples

Documentation

Authors

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].