163 Commits

Author SHA1 Message Date
jomo
d1e174405a fix wrong URL in test 2015-05-06 21:59:44 +02:00
jomo
15afa940f0 update lwip for iojs 2.0.0 2015-05-06 21:50:57 +02:00
jomo
9f04fbc136 allow multiple checksums for tests, fixes #119
As discussed in #119, the rendered image can be slightly different in different environments
2015-05-06 21:06:09 +02:00
jomo
b039e97fa7 fix test crc32 values 2015-05-03 23:06:21 +02:00
jomo
6e41423b7a set encoding: null in test HTTP requests
from the 'request' docs:

encoding: Encoding to be used on setEncoding of response data. If null, the body is returned as a Buffer. Anything else (including the default value of undefined) will be passed as the encoding parameter to toString() (meaning this is effectively utf8 by default).
2015-05-03 22:46:03 +02:00
jomo
4286b35775 support redirection for capes 2015-04-25 22:59:33 +02:00
jomo
5c53694f9d no need to defined undefined 2015-04-25 22:51:22 +02:00
jomo
23080370b2 add test for redirection 2015-04-25 22:50:31 +02:00
jomo
d981b34d0b compact code for cape tests 2015-04-25 21:25:43 +02:00
jomo
8ad35aeea2 rewrite http tests, check http headers, body, and caching
also disabled *all* logs in tests unless VERBOSE_TEST=true
2015-04-25 21:22:16 +02:00
Jake
02092aec08 Add test for username defaulting to steve 2015-04-25 09:09:22 -05:00
jomo
1464ec81f4 update calls to changed function helpers.get_cape() 2015-04-23 23:42:20 +02:00
jomo
8971e3c02b use new response module for renders + bug fixes 2015-04-21 00:57:14 +02:00
jomo
b84a65fd8e restructure directories
www.js is our 'main' file, it's now at the project's root instead of server.js
routes, views, assets are now in lib, too
2015-04-06 03:06:38 +02:00
jomo
af03fb63f8 ❤️ eslint 2015-03-27 23:12:44 +01:00
jomo
d4b0a335c4 return 200 for default avatars/renders/skins, fixes #111 2015-03-18 01:11:49 +01:00
jomo
4c7da4940e remove benchmark.sh, improve bulk.sh 2015-03-14 06:37:16 +01:00
jomo
f984b20344 mv modules/ lib/
that's what all the cool kids do
2015-02-27 18:49:39 +01:00
jomo
9c8df06c6b proper handling of steve/alex
it's more complex than just even/odd UUID
2015-02-27 01:07:09 +01:00
jomo
e2d038f78c oops 2015-02-21 21:17:57 +01:00
jomo
1840ea6fd7 test info in README, add verbose test option 2015-02-21 21:16:03 +01:00
jomo
ec0840794b fix tests Jake0oo0 -> Jake_0 2015-02-21 21:05:00 +01:00
jomo
c0c2a63a8b disable verbose tests again 2015-02-19 01:57:55 +01:00
jomo
0e46019d40 set 60s timeout on errors; #99 2015-02-19 01:55:35 +01:00
jomo
c2a4b3f9f0 proper engrish 2015-02-13 20:30:54 +01:00
jomo
30c4ba200c Infinity
... relax, take your time.

JavaScript has no Integers, only Numbers. Infinity is typeof Number
2015-02-13 19:18:58 +01:00
jomo
4d1f4466fd clean up JS 2015-02-13 19:07:42 +01:00
Jake
ed99d918c1 Merge server 2015-02-11 20:30:31 -06:00
Jake
242ea2df51 Format 2015-02-11 20:29:22 -06:00
Jake
5a4306db6a force the cleaner to run, better coverage 2015-02-11 20:26:29 -06:00
Jake
c062348f40 Separate some test loops 2015-02-11 20:16:55 -06:00
Jake
7e890adf62 test default images for renders 2015-02-11 20:00:18 -06:00
Jake
20d8b281bd welp..fix 2015-02-11 19:31:05 -06:00
Jake
5a06e99643 Why does only one test seem to be processed 2015-02-11 18:25:56 -06:00
Jake
2c1173b8a5 log location 2015-02-10 22:02:02 -06:00
Jake
ce34ae2291 run cleaner 2015-02-10 21:54:52 -06:00
Jake
c925082f7f Test valid inputs for all paths 2015-02-10 21:45:46 -06:00
Jake
9bebaff48e Test invalid render type 2015-02-10 21:44:01 -06:00
Jake
cac316aeb3 Asset request, describe more tests 2015-02-09 22:33:43 -06:00
Jake
84701567b5 Clean up tests, add some more 2015-02-09 22:16:44 -06:00
Jake
2d0af06122 Test default images on all paths 2015-02-09 22:12:33 -06:00
Jake
04cd39ae9f Test invalid UUIDs on all routes 2015-02-09 22:09:34 -06:00
Jake
af421ecb49 Start http.server tests 2015-02-09 21:48:54 -06:00
jomo
572ce487ba call back after writing to cache, fixes #86
remove_hash has no callback because it's only called very rarely and the write/change calls can cause more trouble
2015-02-09 23:39:50 +01:00
jomo
768c6037b4 changed IGN to jomo 2015-02-04 20:15:43 +01:00
Jake
9296fac091 uuid -> userId closes #62 2015-01-31 16:48:36 -06:00
jomo
7a1ffc904b use array instead of object, use dashed names 2015-01-31 20:45:31 +01:00
jomo
1d2f0458c4 more changes for #77 2015-01-31 19:19:18 +01:00
jomo
e6152d5898 prepend request IDs instead of UUIDs, fixes #77
also cleaned up a few other things I noticed when looking over the files
2015-01-31 17:10:49 +01:00
Jake
5fc0f8b59a Add more tests 2015-01-27 16:06:55 -06:00