diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-05 15:05:47 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-10-05 15:05:47 +0400 |
commit | 5a1eab97f54b44f57356b4276b9c9df2a8eef51b (patch) | |
tree | 83864ece2806ccf6e6bb49abf3fd65de92c13ad8 /tests/README.md | |
parent | 19bcd2d262343eae9d553378e4c66ce7e033b4d8 (diff) |
refs #5940 put tests in correct folders, better testsuite names, some tests still fail and I cannot figure out why
Diffstat (limited to 'tests/README.md')
-rw-r--r-- | tests/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/README.md b/tests/README.md index 24b2699b43..bce6f554ea 100644 --- a/tests/README.md +++ b/tests/README.md @@ -71,8 +71,8 @@ To execute the tests: 4. Run the tests $ cd /path/to/piwik/tests/PHPUnit - $ phpunit --testsuite CoreTests - $ phpunit --testsuite PluginTests + $ phpunit --testsuite UnitTests + $ phpunit --testsuite IntegrationTests $ phpunit --testsuite SystemTests There are also two main groups of tests: Core and Plugins @@ -84,7 +84,7 @@ To execute the tests: ## System Tests -System tests files are in `tests/PHPUnit/Integration/*Test.php` +System tests files are in `tests/PHPUnit/System/*Test.php` System tests allow to test how major Piwik components interact together. A test will typically generate hits to the Tracker (record visits and page views) @@ -93,8 +93,8 @@ If a test fails, you can compare the processed/ and expected/ directories in a g text compare tool, such as WinMerge on Win, or MELD on Linux, to easily view changes between files. For example using Meld, click on "Start new comparison", "Directory comparison", -in "Original" select "path/to/piwik/tests/PHPUnit/Integration/expected" -in "Mine" select "path/to/piwik/tests/PHPUnit/Integration/processed" +in "Original" select "path/to/piwik/tests/PHPUnit/System/expected" +in "Mine" select "path/to/piwik/tests/PHPUnit/System/processed" If changes are expected due to the code changes you make, simply copy the file from processed/ to expected/, and test will then pass. Copying files is done easily using Meld (ALT+LEFT). |