Learn something new every day.
- I am a senior software engineer working in industry, teaching and writing on software design, SOLID principles, DDD and TDD.
Location
Buenos Aires
Education
Computer Science Degree at Universidad de Buenos Aires
Currently, I am holding the position of Senior Software Engineer, but I prefer to consider myself a full-stack engineer.
My passions are quality and efficiency. Agile fan and XP practitioner.
hm, that sounds reasonable. yet I think it kind of misses the real point. Let's accept that this definition is correct (it might as well be), what real use it gives us?
Michael Feathers gives a clear definition of what is NOT a unit test.
In short, your test is not unit if:
it doesn’t run fast (< 100ms / test)
it talks to the Infrastructure (e.g. a database, the network, the file system, environment variables…)
hm, that sounds reasonable. yet I think it kind of misses the real point. Let's accept that this definition is correct (it might as well be), what real use it gives us?
You might be also interested in this post: dev.to/dadyasasha/unit-testing-is-...