Quantcast
Viewing all articles
Browse latest Browse all 5300

30 Days of TDD – Day 26 – Reader Question #2

In this post Emad Mokhtar asks: I want to know how to test my business logic which is basically related to database, I know dealing with database is integration test not unit test but this is what I want to take care of, weather my Employee entity inserted or not, did my validation work or not, what if I insert Employee and failed when in inserting his/her addresses, and can I connected to database.Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 5300

Trending Articles