@restqa/restqa-plugin-bootstrap

Functional Test engine based on Gerkin Bootstrap - RestQa

Usage no npm install needed!

<script type="module">
  import restqaRestqaPluginBootstrap from 'https://cdn.skypack.dev/@restqa/restqa-plugin-bootstrap';
</script>

README

RestQA Plugin Bootstrap

A bootstrap module to help on building RestQA Plugins.

Description

RestQA is a runner composed of different plugins such as:

  • RestqAPI : adding Restful API steps into the RestQA runner
  • faker-plugin : Generate fake data into test scenarios
  • etc...

In order to get a comon plugin fundation this repository should support the important module required.

If you don't plan to build a RestQA Module, this library is not for you.

Usage

As you know RestQA is based on Gherkin language, if you want to create a new plugin you need first to understand how to use CucumberJS.

This project will gives you a small booster to create a new plugin by providing a Worl object that you can extend and a data management.

Example:

const { World } = require('@restqa/restqa-plugin-bootstrap')


class YourModuleWorld extends World {
  setup () {
    this.myList = this []
  }
}

module.exports = YourModuleWorld