How do you know what to test when writing unit tests? [closed]
Using C#, I need a class called User that has a username, password, active flag, first name, last name, full name, etc. There should be methods to authenticate and save a user. Do I just write a test for the methods? And do I even need to worry about testing the properties since they are .Net's getter and setters? Rob Cooper Many great responses to this are also on my question: " Beginning TDD - Challenges? Solutions? Recommendations? " May I also recommend taking a look at my blog post (which was partly inspired by my question), I have got some good feedback on that. Namely: I Don’t Know