Setup VisualPHPUnit to run new PHPUnit tests in browser
|Reported by:||matt||Owned by:||capedfuzz|
|Priority:||normal||Milestone:||1.12.x - Piwik 1.12.x|
It would be very useful to run unit tests in the browsers:
- No need to start console line and interpret the output which can be hard to read & understand
- Easier to debug (since debugger already setup to debug browser, but not necessarily to debug cli PHP)
- we tell new devs to visit piwik/tests/ which returns a page linking to the various tests. This way it is friendly to the devs who can click & see results. If the PHPUnit must be run on command line only it adds complexity.
It seems VisualPHPUnit is a good candidate to run our PHPUnit tests. Benaka has already started to use it and is happy with it, therefore I suggest we include the lib in tests/libs/ and link it from piwik/tests/ HTML page.
Change History (29)
comment:21 Changed 20 months ago by capedfuzz (diosmosis)
- Resolution set to fixed
- Status changed from new to closed