zuul/doc/source/developer/testing.rst

786 B

Testing

Zuul provides an extensive framework for performing functional testing on the system from end-to-end with major external components replaced by fakes for ease of use and speed.

Test classes that subclass :py~tests.base.ZuulTestCase have access to a number of attributes useful for manipulating or inspecting the environment being simulated in the test:

tests.base.simple_layout

tests.base.ZuulTestCase

tests.base.FakeGerritConnection

tests.base.FakeGearmanServer

tests.base.RecordingExecutorServer

tests.base.FakeBuild

tests.base.BuildHistory