Commit Graph

204 Commits

Author SHA1 Message Date
helpfulrobot 99b06efae1 Added standard .gitattributes file 2016-01-16 19:34:37 +13:00
Jeffrey Guo 2b21b068ce clean up team db after test session run 2016-01-12 14:56:31 +13:00
Damian Mooyman 5167be8d96 Merge pull request #29 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-12-18 10:05:50 +13:00
helpfulrobot e40a0d0f1a Converted to PSR-2 2015-12-18 07:17:16 +13:00
Damian Mooyman 4015611673 Merge pull request #28 from helpfulrobot/add-standard-editorconfig-file
Added standard .editorconfig file
2015-12-17 13:30:18 +13:00
helpfulrobot 5a7bbfff5e Added standard .editorconfig file 2015-12-17 10:09:08 +13:00
Ingo Schommer 5b81862b7d Merge pull request #26 from IgorNadj/master
MINOR: readme typo
2015-10-19 15:15:57 +13:00
Igor Nadj 2545b3b8cd MINOR: readme typo 2015-10-19 15:04:14 +13:00
Ingo Schommer 3aa661ead8 Removed 5.3+master build config 2015-10-18 17:17:25 +13:00
Ingo Schommer a5acde606f Updated CI dependencies
Test against PHP 5.6, only test PHP 5.3 against SS 3.2 (since SS 4.0 isn't PHP 5.3 compatible)
2015-10-18 14:13:51 +13:00
Ingo Schommer afc0e7ea07 Documented database import params in README 2015-10-18 14:11:33 +13:00
Ingo Schommer c5e9f33531 Merge pull request #24 from IgorNadj/patch-1
ENH: allow specify database by filename
2015-10-18 14:09:59 +13:00
Igor 5c08aa9248 ENH: allow specify database by filename 2015-10-16 11:13:00 +13:00
Damian Mooyman 0025923e3a Merge pull request #22 from dhensby/patch-1
Move to new travis containerised infrastructure
2015-07-21 14:51:42 +12:00
Daniel Hensby c2693c09ee Move to new travis containerised infrastructure 2015-07-20 16:09:08 +01:00
Damian Mooyman 535c9ba32b Merge pull request #20 from phillprice/patch-1
DOCS: Updated fixture document location
2015-07-02 12:24:01 +12:00
Ingo Schommer b735424717 Travis build status 2015-04-30 12:32:09 +12:00
Phill Price e86cc34ad8 DOCS: Updated fixture document location
Must've moved in _UncleCheese_ tidy up
2015-04-08 16:18:35 +01:00
Ingo Schommer abafdce548 Merge pull request #16 from jeffreyguo/pulls/globl-test-session
added comments for global test session
2015-03-31 09:28:59 +13:00
Damian Mooyman aa202e7299 Enable support for framework 4.0.x 2015-01-29 13:00:55 +13:00
Ingo Schommer dcee6ba0af Merge pull request #18 from benmanu/pulls/save-state-permissions
Add umask on save state to prevent permission denied error
2014-11-10 12:12:45 +13:00
Ben Manu a50bab5445 Add umask when saving state to the file system to prevent permission denied error 2014-11-06 08:43:38 +13:00
Jeffrey Guo 50bf3580c8 added comments for global test session 2014-09-03 17:23:57 +12:00
Ingo Schommer cedb6e26ce Add --dev to install instructions
We shouldn't encourage users to install this in a way that'll make it to a production system
2014-09-03 11:20:07 +12:00
Damian Mooyman 69d20eade1 Merge pull request #15 from tractorcow/pulls/3.2-api
Update for framework 3.2 compatibility
2014-07-21 10:38:49 +12:00
Damian Mooyman 63e7051f3e Update .travis.yml for 3.2 2014-07-21 10:36:25 +12:00
Damian Mooyman 869b4e8933 Update for framework 3.2 compatibility 2014-07-21 10:32:39 +12:00
Damian Mooyman b98bbbe276 Merge pull request #14 from tractorcow/pulls/3.1-api
Fix branch to 3.1 compatibility
2014-07-21 10:29:34 +12:00
Damian Mooyman 3d774f7867 Fix branch to 3.1 compatibility 2014-07-21 10:19:33 +12:00
Damian Mooyman d91aae5945 Merge pull request #13 from madmatt/pulls/travis-support
MINOR: Add https://travis-ci.org/ support to testsession
2014-06-19 11:01:07 +12:00
madmatt dcdbadc716 MINOR: Add https://travis-ci.org/ support to testsession 2014-06-18 13:20:24 +12:00
Damian Mooyman a4d07150ca Merge pull request #12 from halkyon/hardcoded_queries
Fixing hardcoded queries that are MySQL specific.
2014-06-12 15:53:53 +12:00
Sean Harvey 020fcbea26 Fixing hardcoded queries that are MySQL specific. 2014-06-12 14:44:55 +12:00
Ingo Schommer 3f60aac770 Using $_SESSION directly, Session::get() is broken 2014-05-15 17:29:29 +12:00
Ingo Schommer 4b15214588 Modify state by reference to allow removals through 'onBeforeStartTestSession' 2014-05-08 14:13:49 +12:00
Ingo Schommer 0a1a318623 Fixed sql splitting
Was breaking on ' '
2014-05-08 13:15:06 +12:00
Ingo Schommer bb9994ddca Allow "global" test sessions 2014-05-06 16:45:55 +12:00
Ingo Schommer 1582e74d10 API Explicit DB import, partially revert DB connection changes
- Renamed 'createDatabaseTemplate' to 'importDatabasePath'
- No longer using 'createDatabase' flag, always loading a new DB
- Reinstating SELECT DATABASE and SHOW DATABASES checks to ensure DBs don't get created multiple times
2014-05-05 22:59:26 +12:00
Sean Harvey 2a13ce2d08 Merge pull request #11 from mateusz/add-guard
BUG Add a guard to prevent Behat runs from failing.
2014-04-01 16:38:12 +13:00
Mateusz Uzdowski 4d77dc6565 BUG Add a guard to prevent Behat runs from failing. 2014-04-01 15:48:12 +13:00
Ingo Schommer 975e6bed56 Revert "Clean up applyState"
This reverts commit 5c5438abee.

Breaks core builds.
2014-03-17 22:59:17 +13:00
Ingo Schommer fe980540b9 Revert TEMP_FOLDER change from ccc8dd061c
It obscures the fact that you're in a test session
by hiding it away in system folders. Having it in assets/
is confusing enough if your webroot isn't writeable.

/cc @wilr
2014-03-17 22:11:25 +13:00
Ingo Schommer 72e8234457 Fixed regression from 5c5438abee 2014-03-17 21:42:47 +13:00
Will Rossiter 5c5438abee Clean up applyState 2014-03-16 17:16:34 +13:00
Will Rossiter ccc8dd061c If default path is not writable, fallback to tmp dir. 2014-03-16 17:14:43 +13:00
Ingo Schommer 8aaaacc23c Fixed regression on file paths in manual test sessions 2014-03-04 17:49:41 +13:00
Ingo Schommer 2b5984a73c Coupling environment with PHP session info, avoids injector troubles
I'd rather have Session::get('TestSessionId') being passed in
as an identifier, but the env object is passed around so much
as a singleton that its easy to forget that argument,
and cause hard to debug errors. We need a global "app" object
which all other objects can reference somehow.
2014-03-03 16:40:03 +13:00
Ingo Schommer 808d6aa87a Tie test session files to browser session 2014-03-02 11:44:58 +13:00
Ingo Schommer 40dd841eb3 API Persist state directly on disk
In memory state can get out of date between CLI and web requests,
leading to hard to debug errors. The performance impact of this
should be low, given the size of the JSON file.
2014-03-01 20:16:20 +13:00
Ingo Schommer c247392da0 API Replace TestSessionDatabaseState with JSON persistence, store PHP session 2014-03-01 14:32:22 +13:00