James E. Blair | e4de4f4 | 2017-01-19 10:35:24 -0800 | [diff] [blame] | 1 | Testing |
| 2 | ======= |
| 3 | |
| 4 | Zuul provides an extensive framework for performing functional testing |
| 5 | on the system from end-to-end with major external components replaced |
| 6 | by fakes for ease of use and speed. |
| 7 | |
| 8 | Test classes that subclass :py:class:`~tests.base.ZuulTestCase` have |
| 9 | access to a number of attributes useful for manipulating or inspecting |
| 10 | the environment being simulated in the test: |
| 11 | |
| 12 | .. autoclass:: tests.base.ZuulTestCase |
| 13 | :members: |
| 14 | |
| 15 | .. autoclass:: tests.base.FakeGerritConnection |
| 16 | :members: |
| 17 | :inherited-members: |
| 18 | |
| 19 | .. autoclass:: tests.base.FakeGearmanServer |
| 20 | :members: |
| 21 | |
Clark Boylan | 500992b | 2017-04-03 14:28:24 -0700 | [diff] [blame^] | 22 | .. autoclass:: tests.base.RecordingExecutorServer |
James E. Blair | e4de4f4 | 2017-01-19 10:35:24 -0800 | [diff] [blame] | 23 | :members: |
| 24 | |
| 25 | .. autoclass:: tests.base.FakeBuild |
| 26 | :members: |
| 27 | |
| 28 | .. autoclass:: tests.base.BuildHistory |
| 29 | :members: |