Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71847

Cover state classes with direct unit tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Course
    • Sprint:
      Moppies Kanban

      Description

      In MDL-71135, several state classes were added to cm_format, section_format and course_format. Their behaviour is currently covered by unit tests in core_course_get_state external method but Eloy mentioned that it would be better to have separate unit tests for them. So that issue is for adding them. 

        Attachments

        1. state_test_coverage.png
          70 kB
          Eloy Lafuente (stronk7)

          Issue Links

            Activity

              People

              Assignee:
              ilyatregubov Ilya Tregubov
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Ferran Recio Ferran Recio
              Integrator:
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Tester:
              CiBoT CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Dec/21

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 35 minutes
                  5h 35m