I was just preparing for one of my talks around unit testing and junit, I stumbled on one of the code repository on github aws-sdk-java. Here I found one unit test/integration/functional test class(Not sure where to fit in).
Some of the things worth noting,
- There are no assertions
- There are no validations of side conditions
Only one test has expected condition as exception
Share your thoughts on which category you will put this type of testing here ?
Is the developer just trying to make effort for code coverage ?
Right now dev.to doesnot support embedding of code block please click and link and see