habitica/test
Nick Tomlin e7f65f219a WIP - Fix karma config file order to successfully boostrap app
There were a few issues here:

1. Relying on globs meant that modules were loaded out of order. So
'habitrpgc' was undefined when we were trying to add services etc to it.
The short term solution is to list them in the same way we list them in manifest
json. The long term would be switching everything to browserify so as to
avoid ordering/listing nightmare by having a single bundle.
2. We were missing exeternal deps (like 'hello') so the tests were
breaking before they even started. Some of them still are
3. We were including services that don't seem to exist anymore  (e.g. `habitrpgstatic`). We still are in certain places
2015-03-05 12:12:32 -06:00
..
archive chore(archived tests) Moving unused tests, casper stuff, and 2014-01-16 16:32:53 -07:00
common Added sinon and corrected path 2015-02-03 21:30:43 -06:00
e2e E2e tests: launch Selenium and node server and kill them after finishing the tests, using a test database 2014-01-01 14:01:51 -03:00
spec WIP - Fix karma config file order to successfully boostrap app 2015-03-05 12:12:32 -06:00
api.mocha.coffee Fix nconf path in api test 2015-03-04 20:55:09 -06:00
mocha.opts test(quests): ensure non-questers don't get hurty by boss on cron #2249 2014-01-21 12:45:18 -08:00
README.md Update README to account for API tests in JS. 2014-01-15 21:34:36 -08:00
run_tests.sh djusted paths 2015-02-03 21:43:10 -06:00

We need to clean up this directory. The real tests are in spec/ mock/ e2e/ and api.mocha.coffee. We want to:

  1. Move all old / deprecated tests from casper, test2, etc into spec, mock, e2e
  2. Remove dependency of api.mocha.coffee on Derby, port it to Mongoose
  3. Add better test-coverage