Skip to content

marc-ed-raffalli/loopback-example-tests

Repository files navigation

Loopback example tests

The project is generated by LoopBack.

Project features

  • Tests
    • Unit / BIT
    • e2e
  • Watcher for TDD
  • Coverage

Commands

Run the tests with coverage analysis:

npm test

Run the test with file watcher:

npm run test-watch

Test libraries

lb-declarative-e2e-test

https://www.npmjs.com/package/lb-declarative-e2e-test

{
  name: 'admin CAN read user list',
  verb: 'get',
  url: '/api/AppUsers/',
  auth: profiles.admin,
  expect: 200
}

About

Example showing testing scenarios in a Loopback 3 app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published