Skip to content

marc-ed-raffalli/lb-declarative-e2e-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a3de953 · Aug 20, 2018

History

35 Commits
Aug 20, 2018
Mar 21, 2018
Mar 21, 2018
Mar 21, 2018
Apr 24, 2018
Mar 22, 2018
Aug 20, 2018
Mar 21, 2018
May 22, 2018
Mar 21, 2018
Mar 21, 2018
Aug 20, 2018
Aug 20, 2018

Repository files navigation

lb-declarative-e2e-test

Build Status Coverage Status NPM version

lb-declarative-e2e-test allows to write tests for Loopback.io in an object definition style.

{
  name: 'admin CAN create',
  verb: 'post',
  auth: usersCredentials.admin,
  body: {some: 'value'},
  url: '/some/url/',
  expect: 200
}

It combines and exposes API from Mocha and supertest but without the boilerplate.

Installation

npm install --save-dev lb-declarative-e2e-test

# or
npm i -D lb-declarative-e2e-test

Documentation

The documentation is available on the project's page

Issues

Please share your feedback and report the encountered issues on the project's issues page.

Demo

A demo example is available on Github.

About

Declaration driven test generator for Loopback applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published