#poll do you unit test your personal
1 messages · Page 1 of 1 (latest)
Nothing in Unity really, maybe some library if I need to make them
what makes you decide? size of the project? if so, do you typically know/plan this from the start of the project or do you only pick up testing part way through?
i personally don't touch it with a barge pole in unity. might be my bias because i have to do a fair amount for work
The project I'm working on right now is destined to be an asset store asset. Since I'll be having customers rely on certain features I'm unit testing them.
if it's a small game, I won't unit test anything
large game project, critical systems will be unit tested
that seems reasonable 🙂
Not in "Games". For "Engine" part it could be a nice addition. Unfortunately, we do not have enough volume (production) running on the share part to justify such investment.
If I were doing an Asset like @late arch, I would probably be more inclined to test/unit test depending on the type and scope of the said asset.
i try to. generally test driven helps me keep modularity high and complexity low, because i need to be able to test the single commponents and cant write them to be a huge spaghetti mess
but usually only complicated logic components where im not 100% sure my logic is right
also being able to mock a lot of data forces me to write code that is flexible enough to take taht => have to limit sideeffects to easily supply mock data from outside