Permalink
Browse files

using testling

  • Loading branch information...
1 parent d5b3bc2 commit 4fe80b3a31f065240b255998916f1dd98ef160c9 @substack committed Mar 30, 2013
Showing with 22 additions and 0 deletions.
  1. +11 −0 package.json
  2. +2 −0 readme.markdown
  3. +9 −0 test/browser/asserts.js
View
11 package.json
@@ -20,6 +20,17 @@
"scripts" : {
"test" : "tap test/*.js"
},
+ "testling" : {
+ "files" : "test/browser/*.js",
+ "browsers" : [
+ "ie/6..latest",
+ "chrome/20..latest",
+ "firefox/10..latest",
+ "safari/latest",
+ "opera/11.0..latest",
+ "iphone/6", "ipad/6"
+ ]
+ },
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/tape.git"
View
2 readme.markdown
@@ -2,6 +2,8 @@
tap-producing test harness for node and browsers
+[![browser support](https://ci.testling.com/substack/tape.png)](http://ci.testling.com/substack/tape)
+
[![build status](https://secure.travis-ci.org/substack/tape.png)](http://travis-ci.org/substack/tape)
![tape](http://substack.net/images/tape_drive.png)
View
9 test/browser/asserts.js
@@ -0,0 +1,9 @@
+var test = require('../../');
+
+test(function (t) {
+ t.plan(4);
+ t.ok(true);
+ t.equal(3, 1+2);
+ t.deepEqual([1,2,[3,4]], [1,2,[3,4]]);
+ t.notDeepEqual([1,2,[3,4,5]], [1,2,[3,4]]);
+});

0 comments on commit 4fe80b3

Please sign in to comment.