mrhands

Sexy game(s) maker

  • he/him

I do UI programming for AAA games and I have opinions about adult games


Discord
mrhands31

posts from @mrhands tagged #tdd

also:

mrhands
@mrhands

Spent an entire day writing tests and getting them to pass for the type registry of my code generation. All of my tests were green until I renamed a property, and now 4 out of 97 are failing.

This... should not be happening.

I'm writing the tests in C++, which is a statically-compiled language. Renaming a property should not affect the tests because my code either compiles and runs or... doesn't.

WhattheuuuuuuckK


mrhands
@mrhands

Give or take 40 tests later, and while everything is now green, the code it generates still isn't correct compared to the hacky previous solution.

Lolsob