Permalink
Browse files

Merge pull request #24 from peterbraden/2bde3b08611043d01af7afd118a80…

…db8f9f002e6

Start server for browser tests
  • Loading branch information...
2 parents 1820d67 + 2bde3b0 commit 3e5915323f44af6ee54474123797dd2c0d51c8eb @foobarfighter committed Aug 19, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 Jakefile
View
@@ -42,6 +42,14 @@ namespace('spec', function (){
task('browser', ['build:all'], function (){
generateBrowserSuite();
+
+ var connect = require('connect');
+ var port = process.env.FOOUNIT_PORT || 5057;
+
+ console.log('You can now run your tests by opening http://localhost:' + port + '/spec/browser/suite_runner.html in your browser');
+ connect(connect.static(__dirname)).listen(port, 'localhost');
+ console.log('Static web server is started');
+
});
task('server', ['build:all'], function (){

0 comments on commit 3e59153

Please sign in to comment.