You can assess code coverage by running npm run coverage
.
Contributions are awesome! If you have an idea or code that you want to contribute, feel free to open an issue or a pull request and we will gladly review it.
The library is post-1.0 now, so there is backward compatibility and future maintainability to consider. If you are adding functionality, you can also write a plugin and add a link here.
This project formats its source code using Prettier. The most enjoyable way to use Prettier is to let it format code for you when you save. You can integrate it into your editor.
If you don't integrate it into your editor, you can run it from the command line
using npm run prettier
.
The procedure for issuing a release is as follows:
- Edit
package.json
andCHANGELOG.md
, updating the version and release notes. Ensure no other files have changes. - Make a new commit
git commit -am 'RELEASE X.X.X'
- Tag the commit
git tag X.X.X
- Push commits and tags
git push && git push --tags
- Publish to npm
npm publish
Writing a plugin for IcedFrisby is easy. For compatibility with other plugins, use a subclass factory:
const factory = superclass =>
class MyPlugin extends superclass {
expectValidXML() {
this.after((err, res, body) => {
// ... assert something here ...
})
return this
}
}
module.exports = factory