XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Run all the phpunit tests
      2. They SHOULD all pass
      3. Edit blocks/online_users/tests/generator/lib.php and replace 'testing_block_generator' for 'phpunit_block_generator'
      4. Run "phpunit block_online_users_generator_testcase blocks/online_users/tests/generator_test.php"
      5. The test SHOULD pass and you SHOULD see a debugging message stating that you should be using testing_block_generator instead of phpunit_block_generator
      6. Edit mod/forum/tests/generator/lib.php and replace 'testing_mod_generator' for 'phpunit_mod_generator'
      7. Run "phpunit mod_forum_generator_testcase mod/forum/tests/generator_test.php"
      8. The test SHOULD pass and you SHOULD see a debugging message stating that you should be using testing_mod_generator instead of phpunit_mod_generator
      Show
      Run all the phpunit tests They SHOULD all pass Edit blocks/online_users/tests/generator/lib.php and replace 'testing_block_generator' for 'phpunit_block_generator' Run "phpunit block_online_users_generator_testcase blocks/online_users/tests/generator_test.php" The test SHOULD pass and you SHOULD see a debugging message stating that you should be using testing_block_generator instead of phpunit_block_generator Edit mod/forum/tests/generator/lib.php and replace 'testing_mod_generator' for 'phpunit_mod_generator' Run "phpunit mod_forum_generator_testcase mod/forum/tests/generator_test.php" The test SHOULD pass and you SHOULD see a debugging message stating that you should be using testing_mod_generator instead of phpunit_mod_generator
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-37457_master

      Description

      Data generators will also be used by behat, right now their classes are 'phpunit_' prefixed and located in lib/phpunit/classes, it can be good to relocate them in lib/test or lib/datagenerators

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              dmonllao David Monllaó
              Integrator:
              Dan Poltawski
              Tester:
              Rossiani Wijaya
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13