Skip to content

rjriel/after-work.js

 
 

Repository files navigation

after-work.js

after-work.js is designed to be your preferred choice when it comes to testing. It acts as an unified testing framework from the lowest level up to the system level.

Testing Pyramid

More details on how to use the framework can be found in Using after-work.js there every level of the test pyramid is explained.

Or you can go directly to the different test levels:

  • unit: used for testing business logic and business rules without interaction with UI components at all.
  • component: used for testing interaction with components on isolated part of the system (fixtures that contains stubs, spies, mocks).
  • integration: used for testing interaction with components that communicates with peer components.
  • system / end to end: used for testing a flow scenario of the whole product.

Get started

after-work.js is designed to be used as a dependency while developing your code. Just add it as a devDependencies to your package.json:

"devDependencies": {
  "after-work.js": "^1.0.0"
}

You can also accomplish this by running npm install --save-dev after-work.js

Contributing

Please follow the instructions in CONTRIBUTING.md.

About

CLI for automated tests in web projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.1%
  • CSS 9.8%
  • HTML 6.1%