https://github.com/dimitarchristoff/jaster
buster.js style test suite helper for jasmine-node
https://github.com/dimitarchristoff/jaster
Last synced: about 1 year ago
JSON representation
buster.js style test suite helper for jasmine-node
- Host: GitHub
- URL: https://github.com/dimitarchristoff/jaster
- Owner: DimitarChristoff
- Created: 2013-11-27T18:02:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-29T17:36:03.000Z (over 12 years ago)
- Last Synced: 2025-03-23T03:32:41.918Z (about 1 year ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jaster
======
buster.js style test suite helper for jasmine-node. because, tests can be easy to read and nicely managed.
```javascript
var suite = require('jaster');
suite('I like to test things', {
beforeAll: function(){
this.counter = 0;
},
beforeEach: function(){
this.counter++;
},
'It should pass': function(){
expect(true).toBe(true);
},
'It should fail': function(){
expect(true).toBe(false);
},
'// It should be disabled': function(){
expect("not to run").toBeTruthy();
}
});
```