Simple tool that automatically registers doubles over HTTP
In order to drive the development of the application, we are using a BDD/TDD approach.
behave
- Configuration and step definitions for behavior testsfeatures
- BDD specification filestest
- Unit testssrc
- Source code
npm run behave
: run all behavior tests
npm run test:unit
: run unit tests
npm run test:integration
: run all integration tests
npm run start:doubles [pathToConfig]
: start the app. first argument is a path to a json config file
Look at ./example-web-app/README.md
for a code example of using api-doubles as a library.
Thanks for helping extend and improve the tool!
- Be sure your fork is up-to-date with the current main
- Be sure your changes have tests at the necessary levels (unit, functional, etc.)
- Be sure all tests pass
Bump the (prerelease) version and publish.
npm run do:publish
- Runs the tests
- Commits the version change and tag
- Pushes the changes
- Publishes the package to NPM
What's Happening
Actions are initiated by ./scripts/publish.sh
. They also include behavior from the preversion.sh
and postversion.sh
scripts which are registered in package.json
to run before and after npm version
.
- Butch Howard butch.howard@leadingagile.com
- Aaron Pietryga aaron.pietryga@leadingagile.com
- Keith Dingle keith.dingle@leadingagile.com
- James Hester james.hester@leadingagile.com
- Ron Quartel ron.quartel@leadingagile.com