branchrust_reboot/main/automated_testingcancel
74 Commits over 61 Days - 0.05cph!
Optimised test runner window OnGUI stack
Editor test runs are faster
Removed hull_corner prefabs, unused
Added category selection to the test runner window
Fixed TestConveyorSplits and TestConveyorTransfer failing during setup because of stability
All entities were spawned at 0,0,0 together and groundwatch was killing them
Now setting server.stability to false in setup
Updated some old client tests to use scoped convars
SetUp and TearDown can now fail the test is they throw
They run using ExecuteTestInternal like the tests
Test runner window now supports repeated tests
Removed some old ad-hoc entity cleanup methods in TestTrees and TestRockets
Added OnBeforeSetUp and OnAfterTearDown. Overriden by RustTextFixture, includes all the entity and item cleanup
This makes sure tests arent exploding if we forget to call the base SetUp and Teardown, it was too fragile
Updated all tests
Update all tests to call the base SetUp
Removed KillAllEntitiesInRadius calls
We now take a snapshot of all server entities on test setup, and kill the difference on test teardown
Fixes entities leaking from tests
Export the test list before running the tests from the pipeline
Updated all the convarscope calls in tests to use the new notation
Simplified ConVarScope calls
Removed obsolete test on TestSolarPanel
Test list
Rebuild aggregated results when filtering tests using the search bar
Also allow Select Tests menu items on scriptable objects
Added a Tests section to BaseEntity and ItemDefinition inspectors, has buttons that will select or run the tests associated to this prefab
Can also right click "Select Tests" on any prefabs
Added an error when GetTestParameters failed to find the given parameter source
Made TestMeshColliderReadWrite::FindAllPrefabs somewhat faster
Added a progress bar for the test export