Hannes Magnusson
72ad6a8a44
PHPC-33: Add tests for X509
...
This test does not currently work due to bug in Mongo Orchestration:
https://github.com/10gen/mongo-orchestration/issues/159
2014-12-19 13:14:49 -08:00
Hannes Magnusson
e2b0f5cfe9
PHPC-45: Orchestrate LDAP/PLAIN servers
2014-12-18 18:04:00 -08:00
Hannes Magnusson
ffa8006bce
PHON-99: Add & Implement SSLConnectionException
2014-12-17 11:52:39 -08:00
Hannes Magnusson
abaed98f61
PHON-6: Split normal SSL and X509 servers
2014-12-16 16:37:32 -08:00
Hannes Magnusson
d0079711d0
PHON-7: Trivial Monog Orchestration abstraction
...
->start("preset.json") # See scripts/presets/
->getURI("preset.json") # Get the MONGODB_URI
->stopAll() # Stops all running mongods
->stopId("SERVER-ID") # The 'id' key in preset.json
2014-12-16 15:42:22 -08:00
Hannes Magnusson
23bc48ce48
exit on failure - and include a greppable error
...
Makes it easier to run the phpt directly
2014-12-16 15:38:51 -08:00
Hannes Magnusson
da8cb0bd3a
PHON-91: Use the vm by default, allow it to be overridden by the environment variable
2014-12-16 13:12:31 -08:00
Hannes Magnusson
b55ab728a9
return true on success
2014-12-16 12:09:28 -08:00
Hannes Magnusson
2d88ca250f
PHON-5: Use Mongo Orchestration to manage MongoDB servers
2014-12-16 12:09:28 -08:00
Hannes Magnusson
bbbda03d10
Seperate code from functions
2014-12-16 12:09:28 -08:00
Hannes Magnusson
db4ceec1b6
Improve exception testing
2014-12-12 15:51:55 -08:00
Hannes Magnusson
54a2e194ce
PHP-1322: More renaming
2014-12-08 14:43:09 -08:00
Hannes Magnusson
b5c3810070
PHP-1322 Rename count methods in WriteResults
2014-12-08 14:34:35 -08:00
Hannes Magnusson
6efcec44ba
Remove unused command
2014-12-03 14:26:54 -08:00
Jeremy Mikola
4086691a3e
PHP-1180: Create make target to install Composer dependencies (for tests)
...
Due to how the Makefile is generated, it's non-trivial to add the "composer" target as a dependency of "test". As a compromise, we'll skip tests which require unavailable dependencies.
2014-10-16 20:45:39 -04:00
Jeremy Mikola
d6f181710f
Use Faker to create user data fixtures
2014-10-16 16:02:26 -04:00
Jeremy Mikola
ec30b7dccf
Use require_once in skip test includes
2014-10-16 16:02:26 -04:00
Jeremy Mikola
426976c62a
Use "phongo_test" as default test database
2014-10-16 16:02:26 -04:00
Jeremy Mikola
35067cf017
Use preg_replace() for generating collection name from test file
...
This builds on what already existed in the current driver and adds the ".skip" removal. It also replaces hyphens with underscores to ensure that the collection is easy to access from the shell.
2014-10-16 16:02:26 -04:00
Jeremy Mikola
7f1e190c95
Clean up hex_dump() source and add citation
2014-10-16 16:02:26 -04:00
Jeremy Mikola
5d6052e884
PHP-1142: Dump WriteResult object in write tests
2014-09-29 11:37:47 -04:00
Hannes Magnusson
173310ee7a
api changes
2014-07-16 17:59:24 +00:00
Hannes Magnusson
4590a66c59
Touch up WriteResult as return value
2014-07-11 07:31:22 +00:00
Hannes Magnusson
c4ebabeb17
Fix calling continue in global scope
2014-07-08 01:05:18 +00:00
Hannes Magnusson
ca8a7009d0
Batch test and fix skipping test during cleanup phase
2014-07-03 20:26:59 +00:00
Hannes Magnusson
a7effd93a0
Simplify testing
2014-07-02 20:48:59 +00:00
Hannes Magnusson
08f7aef8b5
Add BSON tests
2014-06-20 14:55:03 -07:00