#poll do you unit test your personal

1 messages · Page 1 of 1 (latest)

late arch
#

Depends which project

winter rivet
#

Nothing in Unity really, maybe some library if I need to make them

native rune
# late arch Depends which project

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

late arch
#

if it's a small game, I won't unit test anything

#

large game project, critical systems will be unit tested

native rune
#

that seems reasonable 🙂

small star
#

"No."

coral marten
#

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.

vague cosmos
#

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