branchrust_reboot/main/hackweek_automatedtestingcancel
169 Commits over 518 Days - 0.01cph!
Added commands to print the test list in a readable format
Code cleanup
Changed WaitUntilAllSpawned to use WaitUntilWithTimeout
Test list
Fixed Shreddable_PickupTruck only being destroyed on the server by DestroyOutsideMonument when spawned using commands
Added a test spawning and killing all entities, looking for NREs
Restored AutomatedTests scene in Scenes menu
Added back PasteEntitiesEditMode in copypaste so we can edit raiding test scenarios
Had to split PasteEntitiesInternal into multiple methods
Added a setting in the editor prefs to disable tests list export when entering play mode
Disabled by default
Cleaned up client/server ores tests
Added comments
Fixed item test RPC factory
Fixed NRE when spawning auto NPC turret ent without their targetTrigger set
Fixed NRE when spawning legacy shelter
FindBaseCombatEntityPrefabs exclude prefabs with CannotBeCreated tag
Assigned the CannotBeCreated tag to cartable base prefab
Compile fix, third times the charm
Moved all test runner convars to DEBUG only
Make sure the shore vector array is not filled with NaN values when water system is null
Actually we can't use ResetStaticFields here, its in a DEBUG define
Added the ResetStaticFields method in TestRunner.cs
ResetStaticFields on TestRunner
Updated folder paths, updated test list
Renamed Tests folder to AutomatedTests
Wrapped all the test code in #if DEBUG
▍▉▄▉▉ ▄▌ ▄▍▍▋ ▊▅▅▆▆▊ ▇▋▊▆ ▊▅ ▆▆█▄█▅ ▆▇▌▅ ▌▆▌▍▄▊▄ ▅▇█▋ ▋▇ ▊▋▄▋▄█▋ ▋█▆▇▋▇▅ ▄█ ▌▊▉ ▌█▇▌█▇▊▊ ▊▉▍▆█▉▌▋
▆██▅▌▄█ █▍▉'▆ ▊▉▄▋█▋ ▆▌▍▇▍▊▇ █▋▄▅█▍▌ ▅█ ▇▋▄▇█▊▌▍ ▌▍▍▄▍▅▊▋█ ▉▆ ▋▍▇ ▇▌▅▋▅
Fixed FindPrefabPathsByLabel returning assets that contained the target label ("BaseVehicle" was returning assets with "BaseVehicleSeat" for example)
Fixed argument mismatch on one of the auto turret tests
Resolved auto turret merge conflicts
merge from main (AutoTurret.Server conflicts)
Removed old old test framework
New autoturret test to cover a recent exploit
merge from xorswitch_restart_fix
Snap to zero paste option implementation
Copypaste compile fix
Added LoadFileFromBundles
Added snap to zero paste options
BasePlayer and RPC factory compile fixes
merge from main (not compiling, copypaste conflicts need to be looked at)
▆█▍▆▋ ▍▍▊█ ▋▆▉▅▇▋▋██▌_▌▅▄▌_▉▋▄▋▌
Fixed testrunner.gettestlist command not working in builds
testrunner.isbusy now returns a proper json
Fixes and cleanup
Item tests very wip