How do you unit test?
I write unit tests after I finish writing my production code code and aim to achieve 100% code coverage for that section of code.
I write some unit tests after I finish writing my production code that cover what I consider to be the "main" code paths. I don't try to achieve 100% code coverage.
I do not write any production code until I have a failing test.
I don't. I debug my code or use console test runners etc..
Vote
View Results
See this poll on:
https://poll.fm/4632885/embed
Leave a Comment
Your Name
Please enter your name.
Email Address
Please enter your email address.
Your Website (optional)
Your Comment
Please enter a comment.
0
/4000 chars
Submit Comment
Leave a Comment