So the idea with TDD is that you write the minimal amount of code that makes the tests pass, right?

And the tests passing are supposed to make me feel good?

Well then it doesn't work because I know my code is wrong and will cause issues further down the line and I can't not feel bad about it.

@wolf480pl the idea is that you write the minimum amount to get the test passing, so that when you add more tests and more code you’ll know if you ever break anything functionality.
@hannibal_ad_portas yeah, but it meas I'm not supposed to fix code that passes tests, right?
But I'm not happy with that code.
@wolf480pl @hannibal_ad_portas Unless you write further tests that don't pass with the current code because of what you know is bad in the code?

But really, I don't think that there is anything in TTD that says you don't have to change some code that passes the tests, just that you don't have to add new features to it? (disclaimer: I never did any formal TTD training or anything)