Sam Hemelryk
8c0edd2692
MDL-48189 grade: letters now covered by behat
2014-11-25 15:37:25 +13:00
Damyon Wiese
1dd7fab104
MDL-47275 Grades: Sum of grades bug in max grade with extra credit
...
Sum of grades is not calculating max grade with extra credit for students
2014-11-03 16:56:48 +08:00
Andrew Nicols
9cc49c2f58
MDL-47706 gradebook: Update pageload time between changes
...
Since MDL-38732 we reject changes if another change has been made more
recently. As a result, if process_data is called, and then we roll into the
next millisecond period before process_data is called again, the change is
rejected.
Different errors were seen because the millisecond rollover occurred at
different time within the test.
Different error conditions were seen because not all of the tests check for
an error from the call to process_data(), instead just checking that the
value had been updated correctly.
2014-10-22 13:19:23 +08:00
Frederic Massart
f1c933f470
MDL-38732 gradereport_grader: Undefined variable in unit tests
2014-10-15 12:23:34 +08:00
Marina Glancy
b1cdf13013
MDL-47492 core_grades: Behat test for using scales and mingrade in gradebook
2014-10-02 15:59:53 +08:00
Damyon Wiese
b5415ecd9d
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.
Conflicts:
admin/tool/behat/tests/behat/data_generators.feature
grade/tests/behat/grade_aggregation.feature
lib/tests/behat/behat_data_generators.php
2014-09-09 14:02:06 +08:00
Rajesh Taneja
50eb74065b
MDL-46817 behat: Step to check if value exist/not in table column
2014-08-18 10:01:06 +08:00
Dan Poltawski
a623fdf11b
Merge branch 'wip-MDL-30668-m27' of git://github.com/marinaglancy/moodle into MOODLE_27_STABLE
2014-08-11 10:41:42 +01:00
Damyon Wiese
5e33ee65e5
MDL-35984 grade: Recalculate min/max for sum of grades when hidden grades are involved.
2014-08-11 14:22:27 +08:00
Damyon Wiese
3bf4cc3887
MDL-35984 grade: Add behat tests for grade aggregations
2014-08-11 14:22:27 +08:00
Marina Glancy
db14163584
MDL-30668 gradereport_grader: split user preferences into individual courses
...
This solves the DB exception when users were trying to insert very large string in DB
2014-08-08 15:16:32 +08:00
Simey Lameze
1468444f42
MDL-45323 grade: Unit test for grade_get_grade_items_for_activity()
2014-05-15 15:00:56 +08:00
Damyon Wiese
515fe565f6
Merge branch 'MDL-44070-master' of https://github.com/sammarshallou/moodle
...
Conflicts:
theme/bootstrapbase/less/moodle/forms.less
theme/bootstrapbase/style/moodle.css
version.php
2014-04-08 13:30:41 +08:00
Justin Filip
4400033004
MDL-22999 code_grades: Added Behat tests for configurable grade point maximum.
2014-04-07 16:02:37 -04:00
sam marshall
8d1f33e122
MDL-44070 Conditional availability enhancements (6): core changes
...
Changes core code to use new API instead of the old one when
checking user access to activities and sections.
Includes changes to other libraries that are necessary after
adding the availability system and removing old conditional tables
etc.
2014-04-07 20:11:48 +01:00
Petr Škoda
0fa50262e0
MDL-44603 fix core_grading_external class and test location
2014-03-15 11:08:21 +08:00
David Monllao
759b323e0e
MDL-43236 behat: Updating references to deprecated methods
2014-03-07 16:05:21 +08:00
David Monllao
f083d6145e
MDL-43738 behat: Updating features files
...
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match
Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
Russell Smith
74b63eae76
MDL-43440 unit testing: Use cmid in unit tests when it should be used.
...
instance is has been used instead of cmid. This works as all id's are 1
in most cases, but not always.
accesslib_clear_all_caches_for_unit_testing was updated to clear the
$USER->access cache which would fail test when the wrong user's data was used.
2014-01-25 08:57:32 +11:00
Michael Aherne
780cf0a728
MDL-43440 unit tests Use correct cm identifier in unit tests
2014-01-25 08:56:43 +11:00
Eloy Lafuente (stronk7)
988c6ba1b8
Merge branch 'wip-MDL-31597-master' of git://github.com/abgreeve/moodle
...
Conflicts:
grade/tests/behat/behat_grade.php
grade/tests/behat/grade_view.feature
2014-01-14 22:03:02 +01:00
Eloy Lafuente (stronk7)
372a612221
Merge branch 'MDL-43332_master' of https://github.com/markn86/moodle
2014-01-14 16:48:22 +01:00
Adrian Greeve
4e2ba4bb31
MDL-31597 gradebook: Update to gradebook behat tests to include testing grade weightings.
2014-01-14 11:59:01 +08:00
Mark Nelson
8ff753857c
MDL-43332 core_grades: automated basic grade viewing functionality performed in MDLQA-317
2014-01-14 11:59:01 +08:00
Mark Nelson
4f5eaa55c5
MDL-43332 core_grades: automated basic grade viewing functionality performed in MDLQA-317
2014-01-13 15:47:51 -08:00
Rajesh Taneja
456d7bc7f3
MDL-18770 mod_assign: Set gradetype to GRADE_TYPE_NONE if feedback not enabled
2014-01-03 16:30:37 +08:00
Eric Merrill
e3a65c9eab
MDL-37973 gradebook Return a maxgrade of '-' if grade type is TEXT
...
Including tests for correct return from
grade_edit_tree_column_range->get_item_cell()
2013-09-19 10:21:35 -04:00
Marina Glancy
dd8b6a19dd
MDL-31890 corrected whitespaces and phdocs
2013-09-02 10:27:12 +10:00
Paul Charsley
9028d9b513
MDL-31890 added core_grading_get_gradingform_instances web service
...
function
2013-09-02 09:00:39 +12:00
Petr Škoda
8252b7c291
MDL-40901 standardise core test case class and file names
...
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Andrew Davis
5df9bc3998
MDL-37475 core_grade:fixed the handling of show totals
2013-05-08 10:38:20 +12:00
Paul Charsley
3f0ea6d8a7
MDL-31681 added core_grade_get_definitions web service function
2013-03-25 08:38:05 +13:00
Andrew Davis
01da2d3665
MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests
2013-02-11 08:49:43 +08:00
Dan Poltawski
efd779c2c6
Revert "MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests"
...
This reverts commit 88df34abed .
2013-02-04 15:12:30 +08:00
Andrew Davis
88df34abed
MDL-32076 core_grade: fixed ajax handling of unlimited grades and added some unit tests
2013-02-01 08:31:00 +08:00
Eloy Lafuente (stronk7)
3af9d77c1d
MDL-33117 Whitespace fixes
2013-01-15 19:09:57 +01:00
Andrew Davis
10d8f0852b
MDL-33117 grade: adding unit tests for the user report function inject_rowspans()
2013-01-07 11:57:04 +08:00
Andrew Davis
30dd9930ba
MDL-36680 core_grade: fixed grade_report::blank_hidden_total() and added unit tests
2012-11-28 08:45:20 +08:00
Petr Skoda
7467f4c911
MDL-32437 add gradebook querylib tests
2012-04-15 14:23:07 +02:00
Petr Skoda
5073880583
MDL-32149 grade related tests
2012-04-03 22:31:03 +02:00