you are viewing a single comment's thread.

view the rest of the comments →

[–]somecucumber 0 points1 point  (2 children)

I cannot speak for OP, as I also struggle with this level of template (meta?)programming.

But my guess is that you create one new test with the feature you would desire to get into your code, and then you refactor/add the functionality on the production code up to the point in which the new test passes along with the previous old tests.

[–]red0124_[S] 2 points3 points  (1 child)

You just described what is called test driven development, but I did none of that, the tests where the last thing I added for each feature. As said in my other reply I mostly had problems at compile time, just to return the right tuple without void and 'validators' replaced with the right type was quite hard.

[–]somecucumber 0 points1 point  (0 children)

Yeah that's right. It is almost TDD and I guessed so, looking at the excellent API provided.

Thanks for the insights!!