lab-markdown-reporter
v1.0.2
Published
A Markdown reporter for Hapi's Lab test runner
Downloads
116
Maintainers
Readme
lab-markdown-reporter
A Markdown reporter for Hapi's Lab test runner.
This was written because I need output from Lab that can be included with a commit or pull request to confirm that tests, etc have been run successfully. It looks best in GitHub but is also suitable for inclusion in BitBucket repos.
Installation
Install lab-markdown-reporter as you would any other NPM package, by adding it to the package.json of your project.
If Lab is installed globally:
lab -r ./node_modules/lab-markdown-reporter [-o outputfilename.ext]
The above relative path to node_modules
is so a globally-installed lab
knows to look in your local install.
If Lab is installed locally:
./node_modules/.bin/lab -r lab-markdown-reporter [-o outputfilename.ext]
Compatibility
This reporter has been tested and confirmed to work with Lab versions 7.3.0 and later, though it is likely it will also work with earlier versions.
Release History
See the change log file for more details.
Verifying Releases
I use Semantic Versioning to number releases. Each release is tagged with the appropriate version number and signed using Gnu Privacy Guard (GPG). The public key used to sign releases is
Name: David Waterston
Email: [email protected]
Key ID: A7AD9C85
Signature: 71A9 DC13 447A 1E4F C6EB 5D64 DE08 A991 A7AD 9C85
This public key is included in the repository with a SHA1 of 16d013451476fa4a1a67d6ad4b90583e205b53b1. After cloning the repo, and assuming you have GPG installed correctly, you can import this key into your keychain
git cat-file blob pubkey | gpg --import
When this public key is successfully imported, you can use it to verify the integrity of any of the tagged releases of this repo
git tag -v v1.0.0
which should produce output similar to:
object 04f37a55784c1f3abc2cf927a935a488aa954035
type commit
tag v1.0.0
tagger David Waterston <[email protected]> 1427387056 +0000
Initial commit
This is just an example so don't get fixated on the details, what matters is the signature!
gpg: Signature made Thu 26 Mar 16:24:16 2015 GMT using RSA key ID A7AD9C85
gpg: Good signature from "David Waterston <[email protected]>" [ultimate]
The important thing to notice here is that the RSA key ID matches mine (A7AD9C85) and the line that says that this is a good signature.
The public key can further be verified by checking the details held on pgp.mit.edu.
##Missing a feature? Add your idea or vote on your favorite feature to be implemented.
Future Plans
Current and planned work for this repo is public and detailed in Waffle.
License
Copyright (c) 2015 David Waterston. All rights reserved. Distributed under an MIT license. See the LICENSE file for more details.