Currently I'm using Entities test bootstrap code to write test but I found that official didn't strip out all the a couple of runtime test systems by default that when enter play mode u will see there's runtime test systems keep running. Can official strip out all the runtime test by using scripting define symbol like RUNTIME_TEST? Same with dots netcode but I'm not sure whether dots netcode has runtime test system or not.
#Strip out runtime test
1 messages · Page 1 of 1 (latest)
my trick for testing systems to avoid them at runtime is in my testing assembly create an AssemblyInfo.cs file and add
[assembly: DisableAutoCreation]```
then manually create systems that you are testing
Using assembly reference?
Oh wait maybe I misunderstood your problem
Is it Unity's test systems that are being added at runtime?
Not your own?
Ya. Official test system
How are you adding them to your test suite?
did you make a copy of the entities package?
Because yeah that's going to be a bit more of a pain to remove
Added Testable Entities at manifest