branchrust_reboot/main/automated_testingcancel
32 Commits over 31 Days - 0.04cph!
Deployable test for containers missing inventory open & close sounds
Flags the new tin can alarm
Fix a test fixture convar
Add test for meshes used by particle systems having RW enabled
Improve the mesh collider test
Fix repair item target for the base industrial wall light (only did the variants before)
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
Make ProtectionProperties.IsImmortal available serverside
Stop water wheel failing placeEffect test, it has bespoke logic for it
Exclude io prefabs with no inputs from the main power slot test
Swap out hacky checks for if an entity is immortal for the better method we now have
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
█ ▊▇▇ ▌▍▋▅▅▉█ ▌▍▉▌▋▍ ▊▅▄▆ ▌▇▊▋▇ ▊▍ ▋▄▊▅▉▅ ▋▊▄▇▉█ ▇▆▍ ▊▌ ▉▍▊▉▌▄▄ ▇▄▌▉▇▋▉█▆ ▋▇▄▍▇▆▌▌▅▊▉▅▊▋▄▍▊▋ ▆█▄▇▌ ▄▊▌█ ▇▅ ▇▇▋▄ ▆▉▌▌ ▋█▆▄▋▇ ▆▉▍▊▇ ▌▊▊ ▍▇▍▅█ ▉▄ ▆▉▋▉ ▊▌▇▋
Fix the deployable / redirect issues flagged earlier
- a few fireworks were changing variant when picked up
- industrial wall lights pointed to incorrect repair, required wood even though its not used to craft them
- fluorescent ceiling light had different protection and HP than regular ceiling light
- one of the lunar dividers had incorrect protection
- innertube skins could be repaired unlike base item, wantedposter and industrial door had wrong item target
- reactive target could be picked up while building blocked
All green now ✅
█ ▉▊▌▇ ▉▆▉ ▉▋▄█▉▊▅▉▄▊ ▉▍█▋▋▆▋ ▌▊▍▍▅▌▉▅▉█ ▋▊▄▍ ▉▆█ ▌▆ ▋▄▋▆█▅▊ ▉▄▋▊ ▋▋▇▅█ ▍▇▊ █▍█▇▍ ▆▇ ▍▄▊▄▋▄▌██▋▄ ▇█▌▉ ▇▉▇▍▊▄▆▌█▊▌ ▋█ ▇▇▊▌▄
Include hidden redirect items in the tests for inventory sounds
Added container corpse tests
Checks setup, pickup, repair, protection is correct
All pass, but would have caught a recent issue
Fix armored ladder hatches being included in the convex collider test, they have an explicit socket blocking placement on boats
New deployable tests
Check pickup item matches item definition
Check redirect deployables have the same hp, protection, various pickup and repair properties as base deployable
Finds 17 things to fix