This is a demonstration of using Tenon API as a Grunt task
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Grunt Tenon Demo

NOTE: This is supposed to say "Build Error", because that's what it demonstrates.

Build Status

Get a account before continuing

If you do not already have an account on, you need one to use this. Head over to

Once you're registered and confirmed, get your API key at

What this is

This is a demonstration of using Tenon as a Grunt task. It uses the grunt-tenon-client to test a folder of HTML files using Tenon API and using Tenon in a watch task. It also demonstrates using grunt-githooks to run the tenon task on commit.

It also demonstrates using Tenon in a Continuous Integration Scenario, using Travis (view sample output at: Note: When viewing the Travis-CI output, the build fails because that's exactly what you want in this case. The Grunt Tenon task is specifically designed to exit if errors are found.


Take a bit of time to explore the Gruntfile and .tenonrc file to see how the options can be used for your purposes.

Don't forget to also Read The Fine Manual for the full range of API parameters!