Skip to content
loading...
markdown guide
 

Hi there. Virtually none. I see benefit far better in integration testing and data testing frameworks.
If my startup or product becomes a success, I will probably hire somebody asking them to write appropriate unit tests as part of knowledge transfer.
We would work out what types of code needs unit tests vs integration tests. Probably extension methods, logic, helpers for unit tests.
Am writing in c#. I use fakeiteasy, ninject, nunit, xunit,nbuilder, faker.
Another trick I do is to serialise data as json rather than hand coding stubs.

 

In integration tests, serialized data is better than stubs, I agree. Thanks for your response :)

Classic DEV Post from Jun 15 '19

Know Not Only Your Weaknesses, But Strengths as Well

Most people want to develop self-awareness. Whether we are managers, entrepreneurs, or aspiring software engineers, the more knowledge we have of our strength and weaknesses, the easier life becomes.

graciano codes profile image
PT|EN. Carioca software writer, amateur musician, football fanatic. Grande apreciador de batidas de limão. Warning: lots of swearing in Portuguese @ twitter.