Skip to content

Commit

Permalink
Removed dependency to integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
masylum committed Oct 29, 2010
1 parent 163462b commit 3994f60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions Readme.md
Expand Up @@ -108,13 +108,11 @@ meanings although they can be used with interpolations.

Dialect is heavily tested using a mix of Vows and node asserts module.

npm install eyes

make test

## Benchmarks

Dialect should not add an overhead to your application on gettinc translations.
Dialect should not add an overhead to your application on getting translations.
Please run/add benchmarks to ensure that this module performance rocks.

node benchmakrs/app.js
Expand Down
8 changes: 3 additions & 5 deletions test/integration_test.js
@@ -1,5 +1,3 @@
GLOBAL.inspect = require('eyes').inspector({ styles: { all: 'yellow', label: 'underline', other: 'inverted', key: 'bold', special: 'grey', string: 'green', number: 'red', bool: 'blue', regexp: 'green' }, maxLength: 9999999999 });

var fs = require('fs'),
assert = require('assert'),
funk = require('./../support/funk/lib/funk'),
Expand All @@ -14,15 +12,15 @@ var fs = require('fs'),
funktion.apply(this, args);
} catch (exc) {
passed_tests -= 1;
inspect(exc);
console.log(exc);
}
},

exit = function () {
exits += 1;
if (exits === 4) {
inspect('Tests finshed!');
inspect(passed_tests + '/' + num_tests);
console.log('Tests finshed!');
console.log(passed_tests + '/' + num_tests);
process.exit(0);
}
};
Expand Down

0 comments on commit 3994f60

Please sign in to comment.