[Owncloud] Switching to PHPUnit

Thomas Müller thomas.mueller at tmit.eu
Wed Oct 10 09:39:00 UTC 2012


Am Mittwoch, dem 10.10.2012 um 11:23 schrieb Robin Appelman:
> On Wednesday 03 October 2012 22:06:02 Robin Appelman wrote:
> > Currently we use SimpleTest for out unit tests inside ownCloud, while this
> > works fine for basic usage from the browser or the ci server, it lacks the
> > tool support that phpunit has.
> > 
> > I've done most of the work of switching to phpunit in the phpunit branch and
> > I'm planning to merge it after the release.
> > 
> > Currently the main work of the migration is done using a small compatibility
> > layer for SimpleTest on top of phpunit, this is sufficient at the moment
> > but in the long run the test cases should be converted to phpunit properly.
> > 
> >  - Robin Appelman
> 
> This is now pushed to master, if you want to run the tests manually, install 
> phpunit from your favorite package manager and run `phpunit` in owncloud/tests
> 
>  - Robin Appelman

The build on git master is currently failing because the build has not yet been switched to phpunit.
Anybody is welcome to make autotest.sh working again.

Otherwise I'll take a look tonight or tomorrow.

Take care,

Thomas



More information about the Owncloud mailing list