3 ms·
Unit test suppose to be fast. Especially during coding. I wonder how this is necessary & not affecting the test feedback speed
by alifaziz 3y ago
Unit test suppose to be fast. Especially during coding. I wonder how this is necessary & not affecting the test feedback speed
- marginalia_nu 3y agoTestcontainers are surprisingly fast. Like seconds of runtime for a suite.
- alemanek 3y agoThis is for integration tests.
- thomasfromcdnjs 3y agoHomepage hero says "Unit tests with real dependencies"
- alemanek 3y agoA unit test with real dependencies is by definition an integration test isn’t it? I guess the unit in “Unit Test” is a bit subjective but every place I have worked we wrote both unit and integration tests that lived side by side. Integration tests used Test Containers and Unit Tests were isolated with mocks. So, only functional difference was the “unit” under test being more, or less, isolated.