canvas-lms/gems
Adrian Packel a549250826 Add grading scheme values to admin grade report
closes APG-114

Test plan:

- Setup
  - Have an account with some courses
    - Have at least one with a grading standard (C1)
    - Have at least one with no grading standard (C2)
    - Enable final grade override on both courses
  - Create some grading periods on the account
  - On the courses, create some graded assignments with due dates spread
    across the grading periods
  - Issue some grades
    - Assign at least one override grade for each grading period

- WITHOUT the "Add Grading Scheme to Admin Grade Reports" feature flag
  enabled:
  - Run the admin grade report
    - For each type of score--current, final, unposted current,
      override, and so on--the output should contain only score-type
      fields (not their grade equivalents), as before
  - Run the admin MGP grade report
    - Same deal
- WITH the same feature flag enabled:
  - Run the admin grade report
    - This time, each "block" of scores (for grading periods or for the
      whole thing) should have corresponding "grade" columns for each
      score that follow the "score" columns and match the score's
      expected grade value using that course's grading scheme (e.g., if
      a student has a current score of 85 in a course using the standard
      grading scheme, the corresponding current grade should be a B)
    - For a course with no grading scheme (such as C2), the new fields
      should simply be empty
  - Run the MGP report
    - Same deal

Change-Id: I8bca34cdcedb5fe80fdcc4e0eba938cd1d174d7c
Reviewed-on: https://gerrit.instructure.com/212199
Tested-by: Jenkins
Reviewed-by: Keith Garner <kgarner@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
QA-Review: Gary Mei <gmei@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2019-10-15 22:59:51 +00:00
..
activesupport-suspend_callbacks rails 5.2 2018-04-25 19:15:20 +00:00
acts_as_list spec: use rspec to run acts_as_list tests 2019-09-05 15:17:33 +00:00
adheres_to_policy stop logging stats in adheres_to_policy 2019-03-21 16:29:16 +00:00
attachment_fu rails 5.2 2018-04-25 19:15:20 +00:00
autoextend spec: use rspec for autoextend tests rather than minitest 2019-09-04 16:21:26 +00:00
bookmarked_collection prevent possible infinite loop with BookmarkedCollection.filter 2019-10-04 12:45:09 +00:00
broadcast_policy drop rails 5.1 2019-08-01 14:09:31 +00:00
canvas_breach_mitigation da licença part 53 2017-05-01 21:06:11 +00:00
canvas_cassandra distinguish between Cassandra 2 and 3 for getting table list 2017-11-06 17:30:54 +00:00
canvas_color Handle named colors like ‘red’ in theme editor 2018-02-16 23:26:02 +00:00
canvas_crummy add streaming templates: part 1 2019-07-31 19:23:44 +00:00
canvas_dynamodb spec: add html results for i18n gem 2019-08-29 18:58:13 +00:00
canvas_ext rails 5.2 2018-04-25 19:15:20 +00:00
canvas_http use canvashttp to pull external tool config from url 2019-09-26 23:32:55 +00:00
canvas_i18nliner Make javascript optionalChaining work for i18n_check 2019-09-17 23:05:40 +00:00
canvas_kaltura make CanvasKaltura.cache aware that Rails.cache is dynamic 2018-03-06 05:46:59 +00:00
canvas_mimetype_fu fix file warnings for specs on linux 2018-09-07 21:50:53 +00:00
canvas_panda_pub pin jwt for canvas_panda_pub 2017-09-05 13:49:39 +00:00
canvas_partman spec: publish test results from gems running rspec 2019-08-28 18:45:17 +00:00
canvas_quiz_statistics da licença part 53 2017-05-01 21:06:11 +00:00
canvas_sanitize Make sure if we treat data-* as html, it can be trusted 2019-05-23 22:07:50 +00:00
canvas_slug da licença part 53 2017-05-01 21:06:11 +00:00
canvas_sort da licença part 53 2017-05-01 21:06:11 +00:00
canvas_stringex spec: a bit of cleanup in gems/ tests 2019-02-06 15:19:17 +00:00
canvas_text_helper da licença part 53 2017-05-01 21:06:11 +00:00
canvas_time rails 5.2 2018-04-25 19:15:20 +00:00
canvas_unzip canvas_unzip: deal with empty archives 2019-01-03 20:24:20 +00:00
csv_diff add sis batch setting to disable diffing on high diff row count 2019-04-16 12:31:50 +00:00
diigo da licença part 53 2017-05-01 21:06:11 +00:00
dr_diff spec: get the vendored gems build working in new jenkins 2019-08-21 18:18:20 +00:00
event_stream use inst_statsd 2019-03-25 17:00:49 +00:00
google_drive spec: lock the version of faraday because of bugs in new version 2019-09-30 16:24:00 +00:00
html_text_helper spec: a bit of cleanup in gems/ tests 2019-02-06 15:19:17 +00:00
i18n_extraction rails 5.2 2018-04-25 19:15:20 +00:00
i18n_tasks speed up translations loading 2019-07-01 15:25:30 +00:00
incoming_mail_processor don’t try stuff on nil 2019-05-03 21:01:35 +00:00
json_token da licença part 53 2017-05-01 21:06:11 +00:00
linked_in remove all dependecy on instructure-oauth 2017-07-11 19:21:09 +00:00
live_events Fix live events on exit bug 2019-10-09 15:52:23 +00:00
lti-advantage spec: publish test results from gems running rspec 2019-08-28 18:45:17 +00:00
lti_outbound allow whitelisted query param to be added to lti launch body 2018-09-19 18:46:36 +00:00
multipart update mime-types 2019-02-27 17:05:14 +00:00
paginated_collection da licença part 53 2017-05-01 21:06:11 +00:00
plugins Add grading scheme values to admin grade report 2019-10-15 22:59:51 +00:00
rubocop-canvas add more column removal methods to postdeploy linter 2018-06-26 14:21:37 +00:00
selinimum bump aws-sdk-* gems 2019-10-09 19:43:09 +00:00
stringify_ids da licença part 53 2017-05-01 21:06:11 +00:00
tatl_tael Relax messaging 2019-09-24 21:21:30 +00:00
turnitin_api spec: lock the version of faraday because of bugs in new version 2019-09-30 16:24:00 +00:00
twitter drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
utf8_cleaner add missing test to Utf8Cleaner and cleanup 2019-01-11 22:10:24 +00:00
workflow rails 5.2 2018-04-25 19:15:20 +00:00
README.md Add docs on how to run gem tests 2016-03-09 18:08:44 +00:00
test_all_gems.sh spec: don't use a separate script for gems under new jenkins 2019-08-29 16:00:13 +00:00

README.md

Gems

Testing

To test all the gems:

cd gems
./test_all_gems.sh

To test an individual gem

Run ./test.sh inside the gem's folder. This is basically the same as:

cd gems/google_drive
bundle
rspec