Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Well, at least they tried...
Besides, when I started unit testing, I was also setting up test databases and adding unnecessary overhead.
Then I had another brilliant developer explaining me what unit testing really is and the concept of stubbing and mocking.
Now, 1.5 year later, my unit tests only test single units, my integration tests are set up with the bare minimum, and my end-to-end tests get setup prior before every test with a bare test database with laboratory-like entries to test and validate all kind of situations.
My point is, if you see someone doing something the wrong way, don't facepalm, but teach and let them grow.
Unless they don't give a sh!t about you sharing your precious knowledge with them. Then, you know, fudge 'em.
jw565781194yJust have the set of unit tests dependent on the database and another set that are not
Damn that's not very lead nor senior...