XMLWordPrintable

Details

    • MOODLE_25_STABLE
    • MDL-37457_master
    • 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

    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

              dmonllao David Monllaó
              dmonllao David Monllaó
              Dan Poltawski Dan Poltawski
              Rossiani Wijaya Rossiani Wijaya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13