Skip to content

Test writers

Alberto Martín López edited this page Jun 2, 2020 · 3 revisions

Table of contents

  1. Writer interface
  2. Currently supported test writers
    1. REST Assured test writer
  3. How to create a new test writer

A test writer transforms a set of abstract test cases into a set of concrete test cases, ready to be executed. RESTest currently supports the generation of JUnit test cases using the REST Assured framework, but other languages and frameworks could be supported.

Writer interface

WIP

Currently supported test writers

WIP

REST Assured test writer

WIP

How to create a new test writer

You can create a new writer to use another framework for the execution of tests. You have to implement the IWriter interface, which has only one method:

  • void write(Collection<TestCase> testCases). From a collection of abstract test cases, the method converts them into executable code, for example, a Java class.