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 | |
James E. Blair | 06cc392 | 2017-04-19 10:08:10 -0700 | [diff] [blame] | 12 | .. autofunction:: tests.base.simple_layout |
| 13 | |
James E. Blair | e4de4f4 | 2017-01-19 10:35:24 -0800 | [diff] [blame] | 14 | .. autoclass:: tests.base.ZuulTestCase |
| 15 | :members: |
| 16 | |
| 17 | .. autoclass:: tests.base.FakeGerritConnection |
| 18 | :members: |
| 19 | :inherited-members: |
| 20 | |
| 21 | .. autoclass:: tests.base.FakeGearmanServer |
| 22 | :members: |
| 23 | |
Clark Boylan | 500992b | 2017-04-03 14:28:24 -0700 | [diff] [blame] | 24 | .. autoclass:: tests.base.RecordingExecutorServer |
James E. Blair | e4de4f4 | 2017-01-19 10:35:24 -0800 | [diff] [blame] | 25 | :members: |
| 26 | |
| 27 | .. autoclass:: tests.base.FakeBuild |
| 28 | :members: |
| 29 | |
| 30 | .. autoclass:: tests.base.BuildHistory |
| 31 | :members: |