From 987ecdd2c4c899fdc140bccc0f1c2acfa1c8428d Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sun, 28 Oct 2012 13:35:56 +0100 Subject: [PATCH] Minor reformatting --- developer_manual/unittests.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/developer_manual/unittests.rst b/developer_manual/unittests.rst index 56d974d22..da9b4910b 100644 --- a/developer_manual/unittests.rst +++ b/developer_manual/unittests.rst @@ -1,10 +1,8 @@ -=============================== How To Do Unittests In Owncloud =============================== -.. contents:: Getting PHPUnit -=============== +--------------- Owncloud uses PHPUnit for tests. To install it, either get it via your packagemanager:: @@ -18,7 +16,8 @@ or install it via PEAR:: After the installation the ''phpunit'' command is available. Writing unittests -================= +----------------- + To get started, do the following: - Create a directory called ``tests`` in the top level of your application - Create a php file in the directory and ``require_once`` your class which you want to test.