Gard Rimestad
9e949537f6
Run tests with database in docker #64
2014-12-12 16:13:06 +01:00
Jari Bakken
e52c1d16fe
Begin work on running tests against the database:
...
* Add Travis postgresql setup.
* Replace "db mocks" with a before hook that creates the same data
through the HTTP API.
* Reset DB and re-create all fixtures for each test. We'll need
something better here.
* CAVEAT: no concept of a dev vs test database. Running tests will
clear data from the currently configured database.
2014-12-12 16:12:56 +01:00
ivaosthu
f48b89ff87
Fixed presentation and formatting of toggles and log-entries
2014-12-11 08:19:31 +01:00
andsandv
007170159a
Add shrinkwrap
2014-12-10 10:09:45 +01:00
ivaosthu
50973142f8
Introduce jest as test-framework for gui code (react).
...
jest is somewhat documented here:
https://facebook.github.io/jest/
related to #61
2014-12-03 15:09:14 +01:00
Jari Bakken
3d52d97f85
Use knex for DB access. Closes #46 .
2014-11-14 15:06:53 +01:00
Gard Rimestad
a4cdec4fb1
Run tests on port 4243, no need to stop local server when running tests.
2014-11-14 07:37:47 +01:00
Jari Bakken
3768e544b0
Bump mocha timeout on Travis
2014-11-12 15:18:27 +01:00
Ivar Østhus
43ff5732aa
Modified configuration to make it run on heroku.
...
Please note that scripts and webpack is moved from
devDependences to dependencies. This is due to heroku
running the build process in production mode.
2014-11-06 22:42:57 +01:00
andsandv
7a29ae5e09
Add pre-commit hook #26
2014-11-05 16:04:37 +01:00
Jari Bakken
8c3fdfc9d4
Move unleash-server to top level.
2014-10-31 16:35:35 +01:00