blob: 057ab7ef2bafcdef69c8fd8bdf30704f6ebc8611 [file] [log] [blame]
James E. Blaire4de4f42017-01-19 10:35:24 -08001Testing
2=======
3
4Zuul provides an extensive framework for performing functional testing
5on the system from end-to-end with major external components replaced
6by fakes for ease of use and speed.
7
8Test classes that subclass :py:class:`~tests.base.ZuulTestCase` have
9access to a number of attributes useful for manipulating or inspecting
10the environment being simulated in the test:
11
James E. Blair06cc3922017-04-19 10:08:10 -070012.. autofunction:: tests.base.simple_layout
13
James E. Blaire4de4f42017-01-19 10:35:24 -080014.. 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 Boylan500992b2017-04-03 14:28:24 -070024.. autoclass:: tests.base.RecordingExecutorServer
James E. Blaire4de4f42017-01-19 10:35:24 -080025 :members:
26
27.. autoclass:: tests.base.FakeBuild
28 :members:
29
30.. autoclass:: tests.base.BuildHistory
31 :members: