David Monllao
f5ceb6c233
MDL-37656 behat: Adding hooks
...
At suite, scenario and step levels
2013-01-29 12:57:03 +08:00
David Monllao
d4322e3859
MDL-37656 behat: Base empty class
2013-01-29 12:57:03 +08:00
David Monllao
ec017a3460
MDL-37046 behat: Skip unit test if behat is not installed
2013-01-29 12:54:48 +08:00
Dan Poltawski
68aaba6c84
Merge branch 'MDL-37046_master' of git://github.com/dmonllao/moodle
2013-01-29 12:03:10 +08:00
David Monllao
475ac3f8ee
MDL-37046 behat: Changes from integration review
...
* RTL languages problem solved
* Fixed curl errno return
* Switch to behat test environment code more readable
2013-01-29 11:56:42 +08:00
Dan Poltawski
5d80fc80c0
Merge branch 'MDL-37694' of git://github.com/timhunt/moodle
2013-01-29 11:54:36 +08:00
Dan Poltawski
5774879060
Merge branch 'wip-MDL-37615-m25' of git://github.com/samhemelryk/moodle
2013-01-29 11:47:17 +08:00
Dan Poltawski
c2f1837e5d
Merge branch 'wip-MDL-25630_master' of git://github.com/lazydaisy/moodle
2013-01-29 11:23:12 +08:00
Sam Hemelryk
da810f5816
Merge branch 'MDL-37476-master' of git://github.com/mouneyrac/moodle
2013-01-29 15:24:06 +13:00
Paul Nicholls
606554d5b0
MDL-32652 - Make block drag-drop work throughout Moodle
...
The central "content" region on My Home / user profile pages also needs to
be initialised in lib/ajax/blocks.php in order to allow blocks to be
dropped into that region successfully. Some tweaks were also necessary in
order to correct the "content" region's structure in order for drag-drop
to function on this region on these pages.
Non-standard block regions (including the central "content" region
used by My Home and user profile pages) were causing the temporary empty
block region used as a drop target to sometimes appear in the wrong place.
The call to init_requirements_data (which includes the block drag-drop JS)
happens at a late enough stage in page generation that we can simply
pass the context ID through to the JS, so that it can be sent as part of
the AJAX request. This prevents lib/ajax/blocks.php from having to try
to guess the context from the other bits of information it receives, so
block drag-drop should now work everywhere without issues.
2013-01-29 14:57:28 +13:00
Sam Hemelryk
ab58c6b724
Merge branch 'w04_MDL-37716_m25_enrolexpiry' of git://github.com/skodak/moodle
2013-01-29 14:56:57 +13:00
David Monllao
096858ed83
MDL-37046 behat: Use behat test env
...
Moving from phpunit test environment
to a specific behat test environment
2013-01-29 08:40:38 +08:00
David Monllao
b5c130092b
MDL-37046 behat: Split in different classes
2013-01-29 08:40:38 +08:00
David Monllao
9516712114
MDL-37046 behat: Coding standards compliant
2013-01-29 08:40:38 +08:00
David Monllao
ff2ec29bb1
MDL-37046 behat: Added to standard plugins list
2013-01-29 08:40:38 +08:00
David Monllao
0922ef8789
MDL-37046 behat: Windows compatibility
2013-01-29 08:40:38 +08:00
David Monllao
1c36cb2a9c
MDL-37046 behat: Only composer.json
2013-01-29 08:40:37 +08:00
David Monllao
5347dae079
MDL-37046 behat: Adding empty Behat config file
...
This empty behat config file allows behat CLI
command to run before test environment has been set
2013-01-29 08:40:37 +08:00
David Monllao
bd770617a9
MDL-37046 behat: New setting to switch completely to test env.
2013-01-29 08:40:37 +08:00
David Monllao
f2f66ea4af
MDL-37046 behat: Some unit tests
2013-01-29 08:40:37 +08:00
David Monllao
d6abac76ca
MDL-37046 behat: Allow default config overrides
2013-01-29 08:40:37 +08:00
David Monllao
0b5f481bf5
MDL-37046 behat: Externalizations
...
Instead of starting the PHP web server and calling
behat as a passthru we maintain them as standalone
2013-01-29 08:40:37 +08:00
David Monllao
6d9427bba6
MDL-37046 behat: Removing MinkContext
2013-01-29 08:40:37 +08:00
David Monllao
de424b462f
MDL-37046 behat: Removing step
...
The issue scope is only the integration in moodle
2013-01-29 08:40:37 +08:00
David Monllao
a2a9843819
MDL-37046 behat: Checking PHP version
2013-01-29 08:40:37 +08:00
David Monllao
a09534f4fc
MDL-37046 behat: Requires Moodle 2.5
...
Also more code comments and general cleanup
2013-01-29 08:40:37 +08:00
David Monllao
fbb5243491
MDL-37046 behat: Refining composer dependencies installation
2013-01-29 08:40:37 +08:00
David Monllao
1be4c32138
MDL-37046 behat: Specific composer dependencies versions
2013-01-29 08:40:37 +08:00
David Monllao
f4ebf1f889
MDL-37046 behat: Command with x permission
2013-01-29 08:40:37 +08:00
David Monllao
cb18fd7100
MDL-37046 behat: Using moodle composer
2013-01-29 08:40:37 +08:00
David Monllao
d46340eb16
MDL-37046 behat: Adding steps definitions list filters
2013-01-29 08:40:36 +08:00
David Monllao
25833ef86e
MDL-37046 behat: CLI option to add/remove javascript tests
2013-01-29 08:40:36 +08:00
David Monllao
cca2c80630
MDL-37046 behat: Restricting the execution to the built-in server
2013-01-29 08:40:36 +08:00
David Monllao
84d687befc
MDL-37046 behat: Removing temporarly the rest context of Behatch until upstream fixes the problem
2013-01-29 08:40:36 +08:00
David Monllao
df8dcf3ed6
MDL-37046 behat: Using single config file on moodle side
2013-01-29 08:40:36 +08:00
David Monllao
603c95dc10
MDL-37046 behat: User interface
2013-01-29 08:40:36 +08:00
David Monllao
93245e952f
MDL-37046 behat: Steps definitions loading
2013-01-29 08:40:36 +08:00
David Monllao
554820dd52
MDL-37046 behat: Moving installation instructions to MDocs
2013-01-29 08:40:36 +08:00
David Monllao
8cdc0ce8a4
MDL-37046 behat: Integrating build config file into runtests action
2013-01-29 08:40:36 +08:00
David Monllao
6d994c510f
MDL-37046 behat: Adding CLI options
2013-01-29 08:40:36 +08:00
David Monllao
33005f689c
MDL-37046 behat: Adding build config file action
2013-01-29 08:40:36 +08:00
David Monllao
e87d603dca
MDL-37046 behat: Moving feature file to lib/tests/behat
2013-01-29 08:40:36 +08:00
David Monllao
ecbd3cbe70
MDL-37046 behat: CLI tool
2013-01-29 08:40:35 +08:00
David Monllao
cc5446464e
MDL-37046 behat: Adding switch environment feature
2013-01-29 08:40:35 +08:00
David Monllao
7f541ea3ed
MDL-37046 behat: Adding web-based tests runner
...
Uses phpunit test environment to execute the functional testing, adding
steps definitions list and tests runner actions
2013-01-29 08:40:35 +08:00
David Monllao
191b3fb9d7
MDL-37046 behat: Adding a test to check the test environment
2013-01-29 08:40:35 +08:00
David Monllao
dca22d7cc1
MDL-37046 behat: Basic web execution wrapper
2013-01-29 08:40:35 +08:00
David Monllao
301cbe3a30
MDL-37046 behat: Behat admin tool skeleton
2013-01-29 08:40:35 +08:00
Eloy Lafuente (stronk7)
09d6bcc232
Merge branch 'w04_MDL-37718_m25_rs' of git://github.com/skodak/moodle
2013-01-29 01:33:08 +01:00
Eloy Lafuente (stronk7)
ee4cac2b44
Merge branch 'wip-MDL-37474-m25' of git://github.com/samhemelryk/moodle
2013-01-29 01:32:09 +01:00