Blade Barringer
8c95de0835
Move api tests to v2 namespace
2015-11-03 08:31:20 -06:00
Matteo Pagliazzi
ed0e4c6d20
Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other \
...
for the upcoming api v3
Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other for the upcoming api v3
move api v2 routes in a separate folder, rename apiv1 file for better readability, remove auth routes for api v1
move api-v2 controllers in subdirectory
move unorganized files to /libs
fix gulp requires and separate server in old (api v1 and v2) and new (api v3) app
fix require paths
fix require paths
fix require paths
put api v1 back
Reorganize files under /src and separate express app in one for api v1 and v2 and the other for v3
2015-11-02 17:43:32 +01: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
3036c6db9e
Merge branch 'develop' into new_api_test_infrastructure
2015-10-20 21:18:49 -05:00
Blade Barringer
a0e7eef956
Fix legacy tests
2015-10-20 20:17:10 -05:00
Blade Barringer
23398b1a37
Closes #6071
2015-10-20 12:39:04 -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
ccd77090f4
Fix css template for sprites
2015-10-08 17:31:32 -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
b8a8eff434
Merge branch 'develop' into refactor-content
2015-09-28 12:45:18 -05:00
Blade Barringer
f1e442bed4
Extract test commands into constants
2015-09-28 08:54:53 -05:00
Blade Barringer
c21802e7e7
Merge branch 'develop' into refactor-content
2015-09-25 12:22:11 -05:00
Matteo Pagliazzi
5ac46716a3
add eslint tasks to gulp, remove .jshintrc
2015-09-25 15:44:45 +02:00
Blade Barringer
050be4a3db
Add babel task as dependency
2015-09-21 12:01:06 -05:00
Blade Barringer
85a16b62e5
Add babel task and move to src directory
2015-09-17 17:42: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
7aad958062
Merge pull request #5922 from crookedneighbor/gulpify
...
Gulpify the sprites tasks
2015-09-13 02:15:05 -05:00
Blade Barringer
be6acd7c09
Move post to slack function to task helper
2015-09-12 22:23:08 -05:00
Blade Barringer
5876c37271
Remove underscores from function names
2015-09-12 21:04:38 -05:00
Blade Barringer
a0e5ea6f4f
Reformat sprite tasks
2015-09-12 20:43:04 -05:00
Blade Barringer
d79427e879
Functionify sprite task creation
2015-09-12 11:09:29 -05:00
Blade Barringer
1a28c37167
Reorganize sprite task
2015-09-12 10:51:15 -05:00
Blade Barringer
43576addf8
Refactor sprite indicies function
2015-09-12 10:24:06 -05:00
Blade Barringer
5cea988891
Calculate number of sprite tasks by img dimensions
2015-09-12 08:27:05 -05:00
Blade Barringer
17efad6a30
Rework compiled dimensions task to not rely on lodash
2015-09-11 20:53:32 -05:00
Blade Barringer
d3d365a74a
Move sprites task to gulp
2015-09-11 19:59:06 -05:00
Blade Barringer
1406166823
remove unneeded require
2015-09-08 16:21:02 -05:00
Blade Barringer
a85116540c
Move run:dev task to gulp
2015-09-08 15:45:09 -05:00
Blade Barringer
bc9c12f253
Move static new stuff task to gulp
2015-09-04 15:32:08 -05:00
Blade Barringer
cfae45a5f7
Move build task to gulp
2015-09-04 15:30:44 -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
9d9e99045d
Add exceptions to not check for malformities
2015-08-11 08:12:03 -05:00
Blade Barringer
c46659c622
Add top level transifex task
2015-08-10 17:31:43 -05:00
Blade Barringer
c74625a624
Add line break for styling consistency
2015-08-10 17:17:27 -05:00
Blade Barringer
ae2a9f5756
remove unused functions
2015-08-10 17:16:50 -05:00
Blade Barringer
ee621b526e
Remove unused dependency
2015-08-10 17:15:20 -05:00
Blade Barringer
6ed3e77008
Remove double warning
2015-08-10 07:53:26 -05:00
Blade Barringer
cb89f07dcf
Add clarification about missing interpolations
2015-08-10 07:42:52 -05:00
Blade Barringer
c8af280ce4
Revert formatting back to backticks
2015-08-10 07:33:27 -05:00
Blade Barringer
6cd3ed3e07
Set default channel
2015-08-09 16:44:34 -05:00
Blade Barringer
8415322717
Create malformed string check
2015-08-09 16:43:04 -05:00
Blade Barringer
d0e4590a01
Change missingStrings to that it posts to slack
2015-08-09 16:42:44 -05:00
Blade Barringer
c1f0fae456
Change format of reporting
2015-08-09 16:14:09 -05:00
Blade Barringer
cd15b115ad
Add constant for all languages array
2015-08-09 16:13:17 -05:00
Blade Barringer
8b00a772cf
Remove hash function
2015-08-08 22:50:18 -05:00
Blade Barringer
bfc5ac9435
Add task to check for missing files
2015-08-08 22:47:26 -05:00
Blade Barringer
092ba23ae4
Adjust each file to handle errors
2015-08-08 22:46:51 -05:00
Blade Barringer
f58c9e2192
Rename task
2015-08-08 22:25:02 -05:00
Blade Barringer
9d3c40122a
REmove unsued task
2015-08-08 22:24:52 -05:00
Blade Barringer
f355e8e3af
Wrote task that can look up english strings
2015-08-07 22:59:55 -05:00
Blade Barringer
7ca785f33e
Remove unused callback
2015-08-07 19:28:21 -05:00
Blade Barringer
894611bc34
Create shell of task for looking up strings
2015-08-07 09:34:18 -05:00
Blade Barringer
563072712b
Refactor untranslated strings task
2015-08-07 09:00:17 -05:00
Blade Barringer
fd76baa6f8
Missing strings task
2015-08-06 22:42:24 -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
054d884154
Merge branch 'develop' into analytics-service-server-side
2015-07-19 10:13:34 -05:00
Kevin Gisi
9645f08769
Add a 'gulp console' method which preloads Mongo, models, and sets up utility methods
2015-07-14 23:22:02 -04: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
Alexander Bragdon
9b31cf462a
Creates safe versions of tests for Common, API, Karma, and E2E that don't pass errors via callback. The summary information will check if any tests failed and throw an error after all tests have been run.
2015-07-01 14:42:43 -04:00
Kevin Gisi
10cb1d651a
Add gulp test:api:watch
2015-06-23 21:33:05 -04:00
Kevin Gisi
5f218680bc
Fix test callbacks; deliberately break a test for Travis
2015-06-09 12:39:23 -04:00
Kevin Gisi
9272f0ee91
Add CodeClimate coverage reporting
2015-06-09 04:21:54 -04:00
Kevin Gisi
a288b7404c
Add summary reporters to gulp tests and make protractor specs verbose
2015-06-08 05:29:53 -04:00
Blade Barringer
a1cce24010
Make test groups depend on specific test:prepare tasks
2015-06-06 12:14:28 -05:00
Kevin Gisi
ff39773aa4
Drop Mongo DB using mongoose, rather than CLI. Show output for e2e specs
2015-06-06 11:25:26 -04:00
Kevin Gisi
ff017be664
Remove Grunt from karma test chain
2015-06-06 10:48:38 -04:00
Kevin Gisi
f613a5e5a7
Refactored Gulp tasks to exist within a tasks folder
2015-06-06 10:16:26 -04:00