Show last authors
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
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}}
12 = Task 1: Create a test case =
13
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}}
16
17 = Task 2: Run a test case =
18
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]].
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
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
27 = Task 3: Create an automated test =
28
29 All manual test cases could be transformed into automated tests. Read more about creating a [[functional test>>Community.Testing||anchor="HFunctionalTesting"]].
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