==== Writing tests ==== A test for running in the engine should receive the class attribute [[:documentation:enginetest|EngineTest]]. An engine instance should be optained with the [[:documentation:enginefactory|EngineFactory]]. This allows the unit test to run within the currently running TheWizardsEngine. Initial scene setup is provided through a service ([[:documentation:testscenebuilder|TestSceneBuilder]]), currently using the internal DI.