You are here

README.txt in Realistic Dummy Content 8

This folder structure is required for unit tests.

Tests that require the database and/or the browser should go in src/Tests/

Tests herein should extend UnitTestCase

They can be run with, for example:

./core/vendor/phpunit/phpunit/phpunit --bootstrap ./core/tests/bootstrap.php modules/realistic_dummy_content/api/tests/src/Unit/UnitTestCase.php

File

api/tests/src/Unit/README.txt
View source
  1. This folder structure is required for unit tests.
  2. Tests that require the database and/or the browser should go in src/Tests/
  3. Tests herein should extend UnitTestCase
  4. They can be run with, for example:
  5. ./core/vendor/phpunit/phpunit/phpunit --bootstrap ./core/tests/bootstrap.php modules/realistic_dummy_content/api/tests/src/Unit/UnitTestCase.php