Daniel García Aubert
37645ec663
Update mocha to version 5.2.0
2019-01-17 15:53:03 +01:00
Rafa de la Torre
2c334570c3
run_tests.sh is a *bash* script
2018-07-04 17:39:13 +02:00
Raul Marin
50cf5e5c7a
Avoid infinite loop
2018-06-11 16:01:29 +02:00
Raul Marin
9bbbe9e7c1
Make POSTGIS_VERSION detection automatic
2018-06-11 14:47:39 +02:00
Raul Ochoa
e327580a2f
Remove downloading function
...
If we are using a fixed release version, it doesn't make sense to keep downloading it.
2018-03-26 17:54:32 +02:00
Raul Ochoa
bd9c28e29c
Use specific redis cell SO depending on OS
2018-03-26 17:53:36 +02:00
Simon Martín
05ef43c342
download redis cell with curl and change path
2018-03-15 12:19:06 +01:00
Simon Martín
54f113ab5f
download redis-cell lib during tests
2018-03-15 11:35:38 +01:00
Simon Martín
a97e628520
using own version of redis-cell
2018-02-26 16:27:07 +01:00
Simon Martín
fa3223777f
using new docker image with redis4 and redis-cell
2018-02-19 12:43:36 +01:00
Simon Martín
018cd25593
adding redis-cell to tests
2018-02-15 12:42:37 +01:00
David Manzanares
f387f2ee6f
Testing dockerified
2017-10-05 16:08:31 +02:00
Raul Ochoa
22f3a54fbf
Option to skip sql files download
2016-05-31 16:57:28 +02:00
Raul Ochoa
723dc59490
Show some redis stats after running tests
...
By commenting out you can monitor to a file
2015-09-25 09:52:14 +02:00
Raul Ochoa
53d92fe70e
Add option to generate coverage metrics using istanbul module
2015-03-23 14:05:29 +01:00
Sandro Santilli
49829f8935
Set default PostgreSQL application name to "cartodb_tiler"
2014-05-07 16:19:22 +02:00
Sandro Santilli
e6b55ac034
Allow requesting run_test.sh to prepare redis but not postgresql
...
Adds --nocreate-pg, --nocreate-redis, --nodrop-pg, --nodrop-redis
NOTE that dropping pg is still unimplemented
2013-12-17 17:17:16 +01:00
Sandro Santilli
0c4bcca7c9
Read redis port from test.js environment when running tests
2013-12-17 17:17:11 +01:00
javi
c9e3cc00be
merged with develop
2013-04-24 15:16:20 +02:00
Sandro Santilli
369b0f6110
Ignore variable leaks exposed by server.js test (due to LZMA mod)
...
This will have to be fixed once LZMA module is updated.
See https://github.com/nmrugg/LZMA-JS/issues/8
With this change "make check-full" completes successfully for me.
Looking forward to Jenkins experience.
2013-04-12 11:52:09 +02:00
Sandro Santilli
08d1d73b4f
Fix "make check" to exit with FAILURE on failure
...
Also upgrade Windshaft for the same purpose (for make check-full)
2013-04-11 18:31:01 +02:00
Sandro Santilli
a69afe4cd7
Enhance run_tests.sh to allow running single tests and skipping preparation
2012-12-19 09:04:53 +01:00
Sandro Santilli
4ed297d40f
Move more test support things under test/support
2012-10-05 15:57:30 +02:00
Sandro Santilli
de275bfc50
Delegate user permission to PostgreSQL ( closes #18 )
...
If the request is authenticated (with map_key) then we log as the
database owner, otherwise we log as the default user.
The default user is now "publicuser" by default.
Raises dependency on Windshaft to 0.4.9+, to get the grainstore
version allowing override of database username.
Add test for req2params function, particularly authentication,
Add test for authenticated / unauthenticated access
2012-07-18 11:09:17 +02:00
Sandro Santilli
e628b8249a
Require global leak free node-varnish 0.1.1 ( closes #25 )
...
Also stop ignoring leaks and run mocha once for all tests
2012-07-10 16:37:32 +02:00
Sandro Santilli
411332a28a
Run tests with "make check" ( #21 )
2012-07-09 18:56:09 +02:00