Skip to content

Commit

Permalink
use 'buster test' to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
magnars committed Aug 16, 2011
1 parent 677d04a commit b5ff447
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
11 changes: 10 additions & 1 deletion README.md
Expand Up @@ -95,14 +95,23 @@ Setting up development environment
Check out the source code from your fork: Check out the source code from your fork:


git clone <url to your fork> git clone <url to your fork>
cd autolint


Fetch the dependencies with npm: Fetch the dependencies with npm:


npm install npm install

Install buster if you haven't already:

npm install buster -g


Then link buster in:

npm link buster

Run the tests to make sure everything works: Run the tests to make sure everything works:


./run_tests buster test


Install [watchr](https://github.com/mynyml/watchr) to run the tests automatically: Install [watchr](https://github.com/mynyml/watchr) to run the tests automatically:


Expand Down
2 changes: 1 addition & 1 deletion autotest.watchr
Expand Up @@ -7,7 +7,7 @@ end


def run_all_tests def run_all_tests
system('clear') system('clear')
result = run "./run_tests" result = run "buster test"
puts result puts result
end end


Expand Down
6 changes: 6 additions & 0 deletions buster.js
@@ -0,0 +1,6 @@
var config = module.exports;

config["Node tests"] = {
environment: "node",
tests: ["test/*.js"]
};
3 changes: 0 additions & 3 deletions package.json
Expand Up @@ -24,9 +24,6 @@
"underscore": "~1.1", "underscore": "~1.1",
"buster-promise": "~0.3" "buster-promise": "~0.3"
}, },
"devDependencies": {
"buster": "~0.2"
},
"keywords": [ "keywords": [
"JavaScript", "JavaScript",
"lint", "lint",
Expand Down
8 changes: 0 additions & 8 deletions run_tests

This file was deleted.

0 comments on commit b5ff447

Please sign in to comment.