diff options
author | Matthieu Aubry <matt@piwik.org> | 2013-10-30 02:44:32 +0400 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2013-10-30 02:44:32 +0400 |
commit | 34a6bd00b57303645438af2ad4b3f013d82aa557 (patch) | |
tree | 615504b8ca30dde9276706fa1ba106ef299f1891 /tests/README.md | |
parent | cc70d78ada110ba3bfba54c5341f20b325fbc699 (diff) |
Update README.md
Diffstat (limited to 'tests/README.md')
-rw-r--r-- | tests/README.md | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/tests/README.md b/tests/README.md index 5504b7d073..46ac18c5d0 100644 --- a/tests/README.md +++ b/tests/README.md @@ -141,22 +141,9 @@ piwik.js is unit tested and you can run tests via piwik/tests/javascript/ ## Testing Data -You can import data over several days in Piwik: +You can import test data over several days in Piwik. -1. Install Piwik -2. Create a site with URL http://piwik.org/ -3. Create a Goal eg. URL Contains "blog" -4. Import data from an anonimized test log file in piwik/tests/resources/ directory. Run the following command: - - $ python /home/piwik/misc/log-analytics/import_logs.py --url=http://localhost/path/ /path/to/piwik/tests/resources/access.log-dev-anon-9-days-nov-2012.log.bz2 --idsite=1 --enable-http-errors --enable-http-redirects --enable-static --enable-bots - - This will import 9 days worth of data from Nov 20th-Nov 29th 2012. - -5. You can then archive the reports with: - - $ php5 /home/piwik/misc/cron/archive.php --url=http://localhost/path/ - -You should now have some interesting data to test with in November 2012! +See [tests/README.testing-data.md])(https://github.com/piwik/piwik/blob/master/tests/README.testing-data.md) ## Scheduled Reports Tests @@ -217,15 +204,15 @@ Check out this blog post to learn more about Screenshot Tests in Piwik: Piwik comes with a modified copy of VisualPHPUnit (see https://github.com/NSinopoli/VisualPHPUnit) which you can use to run PHPUnit tests in your browser. -See tests/README.visualphpunit.md +See [tests/README.visualphpunit.md](https://github.com/piwik/piwik/blob/master/tests/README.visualphpunit.md) ## Profiling with XHProf -See tests/README.xhprof.md +See [tests/README.xhprof.md](https://github.com/piwik/piwik/blob/master/tests/README.xhprof.md) ## Benchmarks -See tests/PHPUnit/Benchmarks/README.txt +See [tests/PHPUnit/Benchmarks/README.txt](https://github.com/piwik/piwik/blob/master/tests/PHPUnit/Benchmarks/README.txt) ## Participate |