Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

run server for browser tests

  • Loading branch information...
commit 2bde3b08611043d01af7afd118a80db8f9f002e6 1 parent 1820d67
@peterbraden peterbraden authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 Jakefile
View
8 Jakefile
@@ -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 (){
Please sign in to comment.
Something went wrong with that request. Please try again.