Andrew Nicols
b49cb92e82
MDL-69068 behat: New step to support singular generators
2020-07-15 15:27:31 +08:00
Tim Hunt
285c703685
MDL-48024 behat: allow plugins to have data generators
...
This extends the step
Given the following "users" exist:
to also support things like
Given the following "mod_quiz > user overrides" exist:
Instructions are on the behat_data_generators and
behat_generator_base classes.
2019-11-21 09:18:35 +08:00
Eloy Lafuente (stronk7)
d58331eaaf
Merge branch 'MDL-66815' of https://github.com/timhunt/moodle
2019-10-11 00:50:31 +02:00
Davo Smith
8d166d7745
MDL-66017 block_myoverview: filter by custom course field
2019-10-09 14:25:52 +01:00
Tim Hunt
6e73157a3c
MDL-66815 behat: question category generator must find right parent id
...
This is implemented in a bit of a hacky way, because the only other
alternative would be a large rewrite of the whole class, which is
not feasible for me right now. Note that many other types of thing
that can be generated suffer from the same issue. (E.g. if you ever
wanted to generate two groups with the same name in two different
courses and then add group memebers.)
It is worth doing a special-case fix for question categories, because
way Moodle works, it is inevitable that we end up with many categories
called 'top' in the database.
2019-10-01 16:43:25 +01:00
Victor Deniz Falcon
a9e58c14f9
MDL-58974 core_analytics: Add behat tests
...
Behat testing to cover model management and predictions generation
and visualization.
2019-07-31 11:13:05 +01:00
Jun Pataleta
5fb766da14
MDL-65965 behat: Do not fetch grouping IDs for empty grouping idnumbers
2019-07-09 10:47:53 +08:00
Jun Pataleta
e2b0e62f6e
MDL-65965 behat: Map grouping for activity data generator
2019-06-21 15:38:28 +08:00
Amaia Anabitarte
f0e8f0a5b8
MDL-65336 core_message: New muted conversation generator and selectors
2019-06-07 10:38:49 +02:00
Amaia Anabitarte
8922d78b75
MDL-65060 core_message: Group message data generator
2019-05-23 15:30:12 +02:00
Shamim Rezaie
4d0ac716bc
MDL-53140 behat: Allow language customisation in behat
2019-04-29 23:43:11 +10:00
Eloy Lafuente (stronk7)
c080369cb9
Merge branch 'MDL-60418' of git://github.com/timhunt/moodle
2019-04-25 23:25:51 +02:00
Tim Hunt
d1ac356a8b
MDL-60418 Behat: Fix broken docs links in Behat code.
2019-04-25 21:32:48 +01:00
Amaia Anabitarte
173be4856f
MDL-64666 core_message: Favourite private conversations data generator
2019-04-24 17:42:14 +02:00
cescobedo
029a3e73e1
MDL-64664 core_message: New data generator for contacts
2019-03-15 13:42:05 +01:00
Daniel Neis Araujo
01c1095954
MDL-57898 core_customfield: Custom fields API
...
This commit is part of work on Custom fields API,
to minimize commit history in moodle core the work of a team of developers was split
into several commits with different authors but the authorship of individual
lines of code may be different from the commit author.
2019-01-18 14:28:17 +01:00
Jun Pataleta
48a3a50aa4
MDL-59890 behat: Revert to checking if isset instead of not empty
...
Reverting changes made by commit
1957d33996
2017-10-04 14:24:15 +08:00
Andrew Nicols
1957d33996
MDL-59890 behat: Check empty not isset for switchids
2017-10-04 11:16:06 +08:00
Andrew Nicols
fb3c0fc38b
MDL-59890 calendar: Allow event creation in behat
2017-10-04 11:16:06 +08:00
Alexander Melihov
834cc0ed66
MDL-57137 quiz: Create question category with specified parent category
...
Fix question category generator bug. Now it is possible to specify parent category of subcategory, supply only name of parent category
2016-11-25 08:59:32 +03:00
Marina Glancy
134494e07a
MDL-55418 behat: correct exception class name
2016-08-02 17:45:12 +08:00
Tim Hunt
eb3884e48f
MDL-52292 block testing generators: improve the API
...
* Refactor the block generator base class, to remove the amount
of duplication required in base classes.
* Change the defaults that are filled in to be a little more natural.
* Make the Behat step 'Given the following "block" exist:' work.
2015-12-01 13:48:08 +00:00
Frederic Massart
b13afc368e
MDL-50062 behat: Handle category mapping for grade items generator
2015-08-06 11:56:44 +08:00
Marina Glancy
9a7e398664
MDL-50874 block: basic tests for tag-related blocks
2015-07-21 17:02:10 +08:00
Tony Butler
2f29dd628f
MDL-43770 core_behat: Pass additional params to enrol_user generator
...
Include timestart, timeend and status.
2015-03-20 09:55:16 +00:00
Tim Hunt
0db16e082f
MDL-48373 behat: generators for questions and categories
2014-12-05 12:22:27 +00:00
John Okely
cfa91962d1
MDL-47243 behat: Add data generators for gradeitems scales and outcomes
2014-10-15 14:33:26 +08:00
Damyon Wiese
15ace20460
MDL-46997 Grades: Improve the behat tests for grade aggregation
...
The tests now cover hidden grades in sub categories for all aggregation types. This change
includes a data generator for grade categories, with unit tests and behat tests for
the generator.
2014-09-09 17:11:59 +08:00
Marina Glancy
9cc66e866c
MDL-45602 behat: add members to cohorts
2014-09-05 16:40:00 +08:00
Marina Glancy
5f079af450
MDL-46503 behat: cohort generator allows to create cohort in category
2014-07-25 09:12:21 +08:00
David Monllao
c51c3b5575
MDL-43236 behat: Deprecate old steps
...
Correcting grammar errors and deprecating
the previous steps definitions:
- behat_data_generators::the_following_exists()
- behat_general::should_exists()
- behat_general::should_not_exists()
2014-03-07 16:05:21 +08:00
David Monllao
a525414125
MDL-43738 behat: Updating steps definitions and deprecating methods
2014-02-27 18:22:05 +08:00
David Monllao
702851c071
MDL-44108 behat: Adding a roles data generator
2014-02-21 13:25:44 +08:00
David Monllao
041cf62b1d
MDL-42362 behat: Passing options to modules generators
2013-10-21 11:11:39 +08:00
David Monllao
81cd8572ba
MDL-40673 behat: Data generator for permission overrides
2013-08-06 15:04:48 +08:00
David Monllao
a090296740
MDL-40672 behat: New activities data generator
2013-07-23 09:47:36 +02:00
David Monllao
72ddc05f67
MDL-38863 behat: Role assign generator
2013-07-23 09:46:39 +02:00
David Monllao
c29e3e248f
MDL-39702 generators: Adding MOODLE_INTERNAL
...
As discussed generators should include MOODLE_INTERNAL
as they make use of CFG and they don't make sense without
requiring config.php.
2013-05-27 14:52:53 +08:00
Eloy Lafuente (stronk7)
6b117438b9
Merge branch 'MDL-38482_master' of git://github.com/dmonllao/moodle
2013-04-03 16:48:42 +02:00
David Monllao
d2eca4cd0f
MDL-38482 behat: Data generator for system assigns
...
Chaning also the adapt_ prefix for non-direct
data generator uses to process_ because not all
of behat's data generators would have a lib/testing
data generator to share with phpunit tests.
2013-04-03 10:09:18 +08:00
David Monllao
a8a4849518
MDL-38482 behat: Allow frontpage course role assigns
...
There are no enrolment plugins at frontpage
course level.
2013-04-03 09:43:10 +08:00
David Monllao
23349a73ae
MDL-38619 testing: Adapter to cohorts data generator
2013-03-28 11:17:14 +08:00
David Monllao
46ac40cd0b
MDL-38025 behat: Compliant with moodlechecker and codechecker
2013-03-01 16:07:04 +08:00
David Monllao
1f9ffbdbde
MDL-37750 behat: Using base find* methods
2013-02-08 17:11:27 +08:00
David Monllao
f0200d1462
MDL-37659 behat: Adding data generator definition
2013-01-29 17:25:25 +08:00