Commit Graph

59 Commits

Author SHA1 Message Date
Blade Barringer
c96ddaeebe refactor: Remove unused common script src files 2016-03-01 08:49:25 -06:00
Matt Harrington
46e13fecad TEST_DB_URI env override 2016-02-25 00:08:24 +00:00
Kristian Tashkov
5b740b1a11 Fix setting of environment variables in gulp test tasks in Windows
See this stackoverflow link for why this is necessary
http://stackoverflow.com/questions/27084392/code-coverage-for-mocha-in-windows-7/27193866#27193866
2016-01-18 16:55:15 -06:00
Blade Barringer
79f2dc6b1a tests: Update gulp task to use npm scripts 2016-01-18 11:10:22 -06:00
Blade Barringer
9a76e7a62c chore(gulp): Add convience task for starting up a test server. 2015-11-21 09:33:29 -06:00
Blade Barringer
8f9224c2ae Adjust error handling for test task. 2015-11-16 12:23:09 -06:00
Blade Barringer
7a865b5c2a Correct test output agregator 2015-11-16 12:04:09 -06:00
Blade Barringer
a127bb8711 Switch to babel-core form babel.
Babel includes the CLI, which we don't need.
2015-11-15 08:59:57 -06:00
Blade Barringer
2e16bade2b Add lint task to test command. 2015-11-15 08:28:16 -06:00
Blade Barringer
5be9b88cc6 Add babel compiler to mocha.opts 2015-11-15 08:24:19 -06:00
Blade Barringer
351172d178 Correct common test command to compile with babel. 2015-11-14 21:52:59 -06:00
Blade Barringer
6b7a757459 Run tests in sequence 2015-11-09 12:47:56 -06:00
Blade Barringer
6ed3ba36ae Refactor task helper for unit and integration tests. 2015-11-03 21:21:16 -06:00
Blade Barringer
0923077f2f Correct task. 2015-11-03 08:49:10 -06:00
Blade Barringer
b71f1f7862 Extract mocha function into taskHelper 2015-11-03 08:41:16 -06:00
Blade Barringer
8c95de0835 Move api tests to v2 namespace 2015-11-03 08:31:20 -06:00
Blade Barringer
f13641b6a9 Add NODE_ENV to test server startup 2015-10-27 08:00:33 -05:00
Blade Barringer
829b1253fb Revert nodemon change for tests and log errors if they arise 2015-10-25 11:10:10 -05:00
Blade Barringer
7fe2a19bc5 Adjust start server task to use nodemon to recover from syntax errors 2015-10-25 09:54:09 -05:00
Blade Barringer
45afc9f3fb Only start up server in tests if it is not already running. 2015-10-25 09:19:42 -05:00
Blade Barringer
e456bdb2ae Revert npm bin command 2015-10-23 17:35:45 -05:00
Blade Barringer
5481178dbe Move e2e tests higher up in test calls 2015-10-23 12:42:47 -05:00
Blade Barringer
6492554cf1 Add error handling for when mongo is not running. 2015-10-23 12:19:51 -05:00
Blade Barringer
a0e7eef956 Fix legacy tests 2015-10-20 20:17:10 -05:00
Blade Barringer
1417d643e4 Comment out content test until we know for sure what we're doing with the content files 2015-10-18 10:14:54 -05:00
Blade Barringer
7f6b392511 Add gulp watch task for api tests 2015-10-17 19:17:23 -05:00
Blade Barringer
5d268c58de Adjust api test commands 2015-10-17 18:04:32 -05:00
Blade Barringer
02e9775ba7 Set up new api test structure 2015-10-17 12:37:17 -05:00
Blade Barringer
59e2b92dae Kill mocha test if not set to watch 2015-10-17 12:23:04 -05:00
Blade Barringer
9a14368170 Correct test commands 2015-10-17 12:22:04 -05:00
Blade Barringer
a61632fa92 Set up api tests 2015-10-16 21:56:46 -05:00
Blade Barringer
b26c8c3e74 Add api test task 2015-10-16 21:43:43 -05:00
Blade Barringer
115af819a0 Create task to set up a test server 2015-10-16 15:00:33 -05:00
Blade Barringer
0992f560e0 Merge branch 'develop' into new_api_test_infrastructure 2015-10-16 14:54:03 -05:00
Blade Barringer
f9ee70e912 Increase max buffer for content tests 2015-10-03 10:47:26 -05:00
Blade Barringer
b4ce683190 Correct tests 2015-10-01 21:56:14 -05:00
Blade Barringer
1b9c7c51c2 Set up content tests 2015-09-29 07:55:13 -05:00
Blade Barringer
f1e442bed4 Extract test commands into constants 2015-09-28 08:54:53 -05:00
Blade Barringer
e5b19344f6 Use $(npm bin) in gulp test 2015-09-16 08:18:50 -05:00
Blade Barringer
3c1fd385fa Rename existing api tests to api-legacy 2015-09-16 08:12:47 -05:00
Blade Barringer
8b75de56b6 Correct tabbing on server side specs reporting 2015-08-22 21:41:13 -05:00
Blade Barringer
a07d0cde85 Fixed karma reporting 2015-08-22 21:41:13 -05:00
Blade Barringer
37859e51b7 Move gulp task 2015-08-22 21:41:13 -05:00
Blade Barringer
59068c17a2 Add watch task for karma test 2015-08-19 08:56:20 -05:00
Blade Barringer
e34c30a37f Improve formatting of gulp task 2015-08-05 18:12:28 -05:00
Blade Barringer
2d59bcab61 Add common watch task 2015-08-05 08:15:53 -05:00
Blade Barringer
f0283278b9 Correct spelling mistake 2015-08-02 21:55:16 -05:00
Blade Barringer
a767cf9a21 Add server_side tests to gulp 2015-07-12 08:50:25 -05:00
Alexander Bragdon
d6a7bc36c7 Changes hard tabs to double space soft tabs in the error throwing failure block. 2015-07-01 15:20:47 -04:00
Alexander Bragdon
45ddc77eaa Fixes a typo in test:api:safe, missed semicolon on line 97. 2015-07-01 14:45:27 -04:00