Commit Graph

419 Commits

Author SHA1 Message Date
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
Michał Ochman dc01926525 BUG add setAjaxEnabledSteps as interface method 2012-08-19 12:22:51 +02:00
Michał Ochman 2e1cfcc65d initial commit 2012-08-15 16:50:19 +02:00
Michał Ochman c8f0197a55 Initial commit 2012-07-11 12:22:11 -07:00