Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tests; muting appview tests for now until I figure out how to d…
…eal with proper initiallization of the charm object.
- Loading branch information
Showing
12 changed files
with
482 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
var tap = require('tap') | ||
var BufferStream = require('bufferstream') | ||
var stdout = new BufferStream([{encoding:'utf8', size:'none'}]) | ||
tapConsumer = new tap.Consumer | ||
tapConsumer.on('data', function(data){ | ||
console.log(data) | ||
}) | ||
tapConsumer.on('end', function(err, count){ | ||
console.log('tap end') | ||
console.log(err) | ||
console.log('count: ' + count) | ||
}) | ||
tapConsumer.on('bailout', function(){ | ||
console.log('tap bailout') | ||
}) | ||
stdout.pipe(tapConsumer) | ||
stdout.end('1..1\nok 1 foobar that') | ||
setInterval(function(){}, 100) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
src_files: | ||
- lib/catchem.js | ||
- tests/catchem_tests.js | ||
- lib/server.js | ||
- tests/server_tests.js | ||
launchers: | ||
Mocha: | ||
command: mocha tests/catchem_tests.js -R tap | ||
command: mocha server_tests.js -R tap | ||
protocol: tap | ||
auto_launch_in_dev: | ||
cwd: tests | ||
launch_in_dev: | ||
- Mocha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.