branchrust_reboot/main/hackweek_automatedtestingcancel
136 Commits over 365 Days - 0.02cph!
TestListExporter now serializes all test parameters and put them in the json
Tests with dynamic parameters no longer need to retrieve them at runtime
- so we can now use editor code to set tests dynamic parameters
- tests will execute faster
also added TestDescription attribute
Removed nunit dependency in ServerProjectileTestSpawner
Editor stuff in editor folders....
Comments
Fixed copypaste loading: convert them to a BaseScriptableObject on import, so we can load them from asset bundles in builds
Fixed testrunner.runall command
Added testlist command, returning the server test list json
Added current branch and changest in the test result filename
Better fail message for blocker and door controller tests
▉▋█▇█ █ ▅▇█ ▄▋▉▊▌▆ ▇▇▋▌▅▊ ▅▍▍▆ ▇▍▉█▆▄▌▊▉, ▇▅▅▋██▉▉ █▋▉▌ ▄▆▋ ▆█▌▆▍://██▌.▉▄▅▉▊.▍▆▍/▍/▍▅▉▅▅▊▆▇▉▄▊▆██▆▊/▋▅▋▆▊▊▄▌▇▊▊▇▍▌▊▆
Removed nunit.framework refs
nunit.framework preserve in link.xml
Fixed manifest failing to generate when we have any other define symbols than CLIENT SERVER
Added UNITY_INCLUDE_TESTS to the define symbols so nunit assembly are present in the build
Fixed test runner not loading the test list correctly
Fixed test list export failing on startup
More compile fixes
Export test list in server directory
Disabled tests relying on editor AssetDabase for now
Added support for custom path when loading copypaste files
Pushed all the test related copypaste files in the project
Kill all debris in TestRockets TearDown
Cleanup and fixes
Added support for multiple rocket fire angles and positions per scenario
Test cases codegen
More rocket splash test scenarios
Improved the gizmos, refactoring
Improved server projectile trajectory prediction
Folders
Door controller tests tweaks
Prefab test scenario system (very wip)
- Allow us to create more complex tests that aren't practical to write entirely by code
- Scenario prefabs placed in the correct folders are automatically added to the test list
- Added scenario prefabs loading copy pasted bases and firing rockets at specific hand-placed points, checking that the health of every building block is correct
Added triangle and foundation splash bug tests, both failing
More rocket tests
Refactoring
Changed the test results json structure
Rocket splash damage test
Rocket tests: fire rockets at all doors and building blocks (every grade, every skin) and verify that everything works
Nested coroutine tests support
Added parameter field in TestResultEntry
Fixed empty testrunner run command erroring
Export test results in the server directory
Added cancel command, to cancel the current test run
Split server and client tests correctly into different folders
Compile fixes
Generate json results after each test run
Cleanup
Added TestListExporter, exporting all tests to a json file
Refactored test runner to read from the master json list
Added new commands: run tests from a json file, run all tests from a category
Better test result logging in the console
Fixed sync tests not throwing caught exceptions
Door controller, blocker, branch, AND switch, OR switch tests cleanup
Faster and cleaner AND switch tests
Door controller server tests
Fixed some old failing tests
New test utils, code cleanup
Fixed ServerGib editor NRE
Better error message when RustTextFixture.SpawnEntity failed
Fixed FindPrefabPathsByLabel NRE