Ingo Schommer
35bd86bf93
Fixed framework dependency version
...
Wasn't matching 3.1.0-rc1 tag. Now possible thanks to Sam's work which has recently been merged into the composer project.
2013-08-13 12:19:59 +02:00
Ingo Schommer
d734586346
Merge remote-tracking branch 'origin/0.1'
2013-07-11 16:02:15 +02:00
Ingo Schommer
0e0c601a4a
FixtureContext 5.3.8 compat (wrong usage of is_a())
2013-07-11 16:00:19 +02:00
Ingo Schommer
3928919964
Using 3.1 compatible Config API for setup
...
Avoids deprecation notices when testing against master
2013-06-19 12:24:11 +02:00
Ingo Schommer
3100c5aa2e
Limit version to 3.1 framework (or newer)
...
Mainly necessary due to changes in the Config API
2013-06-19 12:04:34 +02:00
Ingo Schommer
0369769c88
Limit version dependency to 3.0 framework
...
Mainly due to Config API changes in 3.1 and further
2013-06-19 12:03:47 +02:00
Ingo Schommer
2832b95fa4
Updated Selenium dependency download, otherwise it breaks in latest Firefox
2013-06-19 11:41:09 +02:00
Ingo Schommer
5e879a88b8
Only match visible buttons in "I press button" step
2013-06-07 16:26:12 +02:00
Ingo Schommer
88de98e03d
Improved docs
2013-06-07 16:26:12 +02:00
Ingo Schommer
71245ababd
Behat: More informative error on login form not found
...
"setValue() on a non-object" wasn't very helpful
2013-06-07 16:26:12 +02:00
Ingo Schommer
b8915d8a80
Merge pull request #4 from sminnee/session-start-error-checking
...
FIX: Perform error checking on testsession/start.
2013-06-07 00:28:45 -07:00
Sam Minnee
790d086def
FIX: Perform error checking on testsession/start.
...
This fix improves the robustness of the behat tests, ensuring that the testsession has actually
been successfully started before the test kicks off. Although it doesn't fix anything that
wasn't previously broken, it makes environment set-up errors a bit easier to figure out.
It looks for a new status comment in the result of testsession, that is also being added to the
module.
2013-06-07 11:19:42 +12:00
Ingo Schommer
f18ec15dac
More accurate readme on fixtures
2013-06-05 15:44:30 +02:00
Ingo Schommer
41fc8ac982
Cheatsheet for readme
2013-06-05 15:36:34 +02:00
Ingo Schommer
aab86a6b08
More verbose fixture step definitions
...
Too many clashes with other steps otherwise,
e.g. with 'And the preview contains "You can fill"'
2013-06-05 14:17:28 +02:00
Ingo Schommer
55c7f578fd
Documentation
2013-06-05 13:34:45 +02:00
Ingo Schommer
1eed512b7d
Member and Group fixture support
2013-06-05 13:34:45 +02:00
Ingo Schommer
460ce55d22
Delay UI interactions after ajax to allow browser rendering
...
merge
2013-06-05 13:34:45 +02:00
Ingo Schommer
8418bea0f8
Step transformations rather than special case step overrides
2013-06-05 13:34:45 +02:00
Ingo Schommer
fd9e84006f
Use FixtureFactory for YAML, move helpers to FixtureContext, consistently create assets
2013-06-05 13:34:45 +02:00
Ingo Schommer
ea55cbfc2c
Added phpunit dependency, avoid clashes with existing PEAR installs
...
Tries to include Yaml/Inline class from two separate locations,
which clashes with "cannot redeclare class"
2013-06-05 13:34:45 +02:00
Ingo Schommer
30ece1347f
NEW FixtureContext ( #2 )
2013-06-05 13:34:42 +02:00
Ingo Schommer
de60775b98
Updated behat dependency
...
2.4.* instead of 2.4, which apparently makes a difference for composer...
2013-06-04 01:10:00 +02:00
Ingo Schommer
8d3184b1fa
Instructions for running installer
2013-05-09 17:07:28 +02:00
Ingo Schommer
bc455762f5
Removed docs on selenium in background, doesn't actually work
...
Also removed quick start docs, they make less sense if you
can't just copypaste them (due to having selenium in a separate session).
We could use 'screen', but that's yet another dependency to explain.
2013-05-09 16:40:05 +02:00
Ingo Schommer
e98233db65
NEW Auto-detect base_url from FILE_TO_URL_MAPPING
...
Removed framework_host since its no longer necessary due to the changed execution logic.
Unfortunately had to subclass the existing Mink Extension class since we can't influence
its config persistence from our own extensions (with a completely separate ContainerBuilder).
Also restructured README to be more focused on execution rather
than diving into deep config concerns early on.
2013-05-09 16:26:24 +02:00
Ingo Schommer
3a34c204c1
Generalized and fixed UploadField handling in behat
2013-04-09 11:32:43 +02:00
Ingo Schommer
72141f4474
3.1 compat
2013-04-09 01:58:34 +02:00
Ingo Schommer
6960d8d6e8
Updated selenium server version
2013-04-09 01:02:41 +02:00
Ingo Schommer
b170e621c9
More feedback on which temp db gets created
2012-12-19 15:56:33 +01:00
Ingo Schommer
6c9be905f9
NEW Email testing
2012-12-19 15:56:20 +01:00
Ingo Schommer
95b9408c86
Using new and more flexible 'testsession' module instead of dev/tests/setdb
2012-12-19 15:55:54 +01:00
Ingo Schommer
f55029c4aa
Minor docs fixes
2012-12-07 01:11:30 +01:00
Ingo Schommer
9b5eaa30a5
Updated install instructions
2012-12-07 01:06:31 +01:00
Ingo Schommer
135ae89617
Removed reconnect to DB on fixture defaults, it breaks state
...
Specifically, it resets to the standard database config,
rather than the session/cookie state for the temporary database.
2012-12-06 17:40:04 +01:00
Ingo Schommer
90443b64f9
More forgiving syntax for "wait for x seconds"
2012-12-06 17:40:04 +01:00
Ingo Schommer
443a49b717
Update README.md
2012-12-03 09:57:39 +01:00
Ingo Schommer
2dc613f488
Fixed usage of private var from Selenium driver
...
Changed in selenium master recently
2012-11-28 16:44:09 +01:00
Ingo Schommer
74e0d8cd83
Fixed coding conventions (no functional changes)
...
Both Symfony and SilverStripe conventions mandate
lower camel case for instance properties
2012-11-18 11:51:00 +01:00
Sam Minnee
f6d56e811a
FIX: Added selenium2 and goutte mink drivers to behat-extension requirements; otherwise behat won't run.
2012-11-17 14:02:08 +13:00
Ingo Schommer
feba280470
NEW LocatorProcessor and ClassGuesser to manage modules
...
Important for running behat tests per-module,
while stil keeping parameters like "base_url" configurable
without modifying behat.yml files in the modules own source code.
2012-11-15 17:42:45 +01:00
Ingo Schommer
046350fcce
Suppress DB default record output in behat runs
2012-11-15 16:08:47 +01:00
Ingo Schommer
103372a08a
NEW Reduced boilerplate configuration
...
- Moved all extension-specific conf into its own configuration namespace
- Described configuration via PHP, and added default values
- Removed boilerplate config from README
- Made screenshot_path optional
- Configurable ajax_timeout settings
Note: The DI system plus the initializer+context combo requires insane amounts of code duplication,
will need to be looked at more closely (very little docs on that level of Behat extension available).
2012-11-15 16:08:47 +01:00
Ingo Schommer
38a27d2a50
NEW Reduced boilerplate configuration
...
- Moved all extension-specific conf into its own configuration namespace
- Described configuration via PHP, and added default values
- Removed boilerplate config from README
- Made screenshot_path optional
- Configurable ajax_timeout settings
Note: The DI system plus the initializer+context combo requires insane amounts of code duplication,
will need to be looked at more closely (very little docs on that level of Behat extension available).
2012-11-14 00:29:40 +01:00
Ingo Schommer
66a07442cf
Docs about commands and testing dependencies
2012-11-14 00:29:37 +01:00
Ingo Schommer
599ac8a7fc
ENHANCEMENT Migrated and adapted README from temporary 'behat-tests' module
...
Added overview and configuration instructions, updated composer-centric install guidelines
2012-11-09 17:35:25 +01:00
Ingo Schommer
3ac7e83dae
ENHANCEMENT Migrated generic contexts from temporary 'behat-tests' module
...
The CMS specific context classes will move to framework
2012-11-09 17:34:24 +01:00
Ingo Schommer
ee4d8b7381
BUGFIX Flush manifests when bootstrapping tests
2012-11-09 15:46:33 +01:00
Ingo Schommer
99761ac1f9
Fixed paths
2012-11-08 21:51:17 +01:00
Ingo Schommer
afcae36eec
Resolved vendor confusion, its "SilverStripe", not "Behat"
...
"Behat" as a vendor namespace is already taken by the project
of the same name.
2012-10-16 22:05:17 +02:00