Hide last authors
Ecaterina Moraru (Valica) 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 In order to make sure an issue will not reappear inside XWiki, you should write a test to verify the desired behaviour.
6
Ecaterina Moraru (Valica) 3.1 7 = Task 1: Find a test case =
8
9 [[Manual testing>>Community.Testing||anchor="HManualtesting"]] is done following a test plan. We hold our test cases and run instances in our [[Manual test reports>>test:Main.WebHome]] wiki.
10
11 {{comment}}
Ecaterina Moraru (Valica) 2.1 12 = Task 1: Create a test case =
Ecaterina Moraru (Valica) 1.1 13
Ecaterina Moraru (Valica) 3.1 14 You should create a new test case on the [[Tests wiki>>test:Main.WebHome]] for an XWiki feature / extension of your choice or on the issue you've reported. Run this test case on the latest XWiki version for multiple browsers, databases. Make sure the test case doesn't already exist.
15 {{/comment}}
Ecaterina Moraru (Valica) 1.1 16
Ecaterina Moraru (Valica) 2.1 17 = Task 2: Run a test case =
Ecaterina Moraru (Valica) 1.1 18
Ecaterina Moraru (Valica) 3.1 19 You can select any test case from our Tests wiki and run it locally on an XWiki you've recently [[downloaded>>xwiki:Download.WebHome]].
Ecaterina Moraru (Valica) 1.1 20
21 You should use a combination of XWiki versions, Browser type+version, Database type+version when running your tests in order to make sure there are no browsers incompatibilities. In order to see what browsers and database we support you should check XWiki's [[support strategy>>Community.SupportStrategy]].
22
23 If you are not sure what to test, another variant would be to test an issue from our recent releases. See the [[Test Reports>>xwiki:TestReports.WebHome]] and check where your help is needed. The test cases for a particular XWiki version can be found in the [[Product Versions>>test:QA.Management||anchor="HExistingProductVersions"]] livetable.
24
Ecaterina Moraru (Valica) 2.3 25 If you have run tests for an extension, report compatibility of extensions with XWiki versions. Go to the [[extension you have tested>>extensions:Main.WebHome]], edit the extension page and fill the Compatibility field.
26
Ecaterina Moraru (Valica) 2.1 27 = Task 3: Create an automated test =
Ecaterina Moraru (Valica) 1.1 28
29 All manual test cases could be transformed into automated tests. Read more about creating a [[functional test>>Community.Testing||anchor="HFunctionalTesting"]].
Ecaterina Moraru (Valica) 2.2 30
31 All out automated tests are monitored and run for each commit inside XWiki Platform or our Recommended extensions. You can check their pass status [[locally>>Community.Building||anchor="HUsingProfiles"]] or remote on [[ci.xwiki.org>>http://ci.xwiki.org/]], which is our continuous integration tool.

Get Connected