GSoC/GCI Archive
Google Code-in 2011 MoinMoin Wiki

write high-level tests for all views

completed by: qxcv

mentors: Bastian Blank, Reimar Bauer, Thomas Waldmann, Prashant Kumar, Eugene Syromyatnikov

Abstract

Write more high-level tests, requesting all (GET) views moin offers and checking the responses.

Details

See MoinMoin.apps.*._tests.* - there are some tests, but it is far from complete.

You can check for: expected http status code, no exception happening, expected value in response content.

The idea behind these tests is to get the views' code executed and to make sure it does not crash. It is not intended to check complete correctness of the response content.

It is important to first think about how to do such tests in a good way, do not just create a lot of copy&paste duplicated code!

Deliverables: patch or changeset

Benefits

If we have this, we'll have to do less manual testing and still can be save that all views still (basically) work.

Skill Requirements

See tags.

Note: unless otherwise noted, tasks usually refer to moin2 (http://moinmo.in/MoinMoin2.0)!

You can discuss this issue in the MoinMoin wiki: http://moinmo.in/EasyToDo/write%20tests%20for%20views