Follow

I love a failing test, because it tells me what to fix. Embrace your tests!

@carlesjove I hate a failing test, because most of the time it means someone is testing for the implementation details and not for the behavior, and I have to rewrite it.

@deshipu hehehe. Yeah, I see what you mean. I was referring to a failing test that you write before the actual code.

But I see your point, and that's the whole thing about what to test and what not. I generally will go for high level tests and public API, but not the internals. Even for webapps, we're always creating an API, so that's what I will generally test.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!