1.9.3 • Published 7 years ago

minosse v1.9.3

Weekly downloads
65
License
ISC
Repository
github
Last release
7 years ago

Minosse

wercker status NPM version

Common steps for testing api's using Cucumber.js.

Usage

Install the library:

npm install minosse --save-dev

Create a steps file in your project and load the api teststeps from there and add an optional configuration:

module.exports = function myCustomSteps() {
    require('minosse').call(this);
    this.setTestConfig({
        defaultHost: 'localhost',
        defaultPort: 8080
    });
}

Use the steps in your feature file:

Given I set property request body to number-array 1,2,3
When I send a POST request to /sum
Then the response status code is 200
And I check property sum of response body equals number 6

What's next?

Development

Style

We have an .editorconfig file to help us having a consistent coding style. Please install a plugin for your editor.

We use eslint for code linting. There are plugins for that too.

Tasks

We use gulp as a task runner. Install it globally first: npm install -g gulp. To see a list of gulp commands, run:

gulp help

Git hooks

In the package.json you can see a pre-commit and pre-push hook. On commiting or pushing these commands are executed. If they fail, the commit/push will fail. Add the --no-verify flag to your commit or push to bypass these checks.

Swag

Code Climate Test Coverage

1.9.3

7 years ago

1.9.2

7 years ago

1.9.1

8 years ago

1.9.0

8 years ago

1.8.0

9 years ago

1.7.2

9 years ago

1.7.1

9 years ago

1.6.1

9 years ago

1.6.0

9 years ago

1.5.2

9 years ago

1.5.1

9 years ago

1.5.0

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago