logo

Stable and maintainable UI regression tests

What is tapir?

tapir is a framework to develop UI regression tests. Its name is an acronym for Test API against Regression. tapir focuses on maintainablity, readability and robustness.

Unlike Capture/Replay-Tools tapir pursues the approach to implement test cases with a technology independent API.

Instead of reinventing the wheel tapir uses established open-source frameworks and tools. It applies patterns and concepts commonly known in the application development to the testing domain.

Let's get started!


Features

Easy to read & maintain

tapir ships with an API which reflects the test domain. This enables the possiblity to read tests as an executable specification and maintain them easily.

Technology independent

tapir tests are implemented in a technology independent manner. The specifics of the underlying UI technology (like HTML, JavaFX or Swing) do not pollute your test code.

Non-flaky

You do not have to struggle with technical issues like synchronization between the test code and the tested software. tapir handles these situations internally.

Modular

tapir itself is splitted into several modules. Every module is a functional unit. There are a lot of modules (extensions) which can be used optionally.

Integrates seamlessly

tapir provides a couple of adapters which fulfill APIs of existing frameworks and tools. If no adapter for your framework or your tool is available yet, it’s very easy to write one by yourself.

Tests product lines

tapir offers support for testing multiple variants of the Software Under Test. By using feature markers tapir avoids the necessity to duplicate the test code.


tapir Test class

Concise test code

As Test API against Regression suggests tapir is designed to write functional regression tests by using a domain-specific API. You do not have to deal with technical issues while writing your tests. You can read und understand your tests or the tests written by your teammates as an executable specification.

All the tests do not have any dependency to a certain browser and therefore you (or your DevOps) are free to decide which browser(s) to use for testing.


tapir JUnit View

Great IDE and build tool integration

Benefit from all the cool features your Eclipse IDE provides. tapir is Xtend/Java based. Both languages have great Eclipse support by means of code highlighting, content assist or formatting. The editor notifies the user immediately if something is wrong with your code.

tapir integrates with established tools seamlessly. You can run any tapir test as plain JUnit test. The Eclipse IDE and your build tool just behave as they would with plane JUnit tests.

Because tapir uses these standard interfaces and formats integration in your CI server (like Jenkins) is simple as well.


tapir Allure Report

Comprehensive reports

Thanks to Allure tapir is shipped with the ability to create modern, comprehensive and interactive reports. Allure is connected via the tapir Execution Listener API. Attaching your favorite reporting tool is just implementing one interface away!


Contact