Although I'm not a C# developer, The Art of Unit Testing has affected me largely. Maybe it's because "C# is Java" (Bob Martin), but nonetheless, the concepts are priceless.
Hi Roy, I really like your idea of Unit Test end-points and plan to consider and advocate the perspective from now on. I would like to suggest a fourth type of exit-point of exception confirmation. I use the Jest framework for JavaScript/TypeScript unit tests. I personally think of unit tests as a way of proving a Unit (and specifically the interface it presents.) I have many examples of the three end-points you discussed but I also have test cases where I exercise the interface where the Unit is expected to throw an exception. This is something Jest supports very well. I am a firm believer that developers that write code but disregard unit tests are not engaging in Software Engineering. Thank you Dave for asking so many of the questions that occurred to me.
Hey Gilmoret - I consider exception results as part of the "return value" exit point - but it's not the first time this has been suggested. Always considering it :)
Like Roy approach, experience and wisdom
I liked the concept about learning in the bite size chunk method of tackling the 3 areas of expertise on their own.
Although I'm not a C# developer, The Art of Unit Testing has affected me largely.
Maybe it's because "C# is Java" (Bob Martin), but nonetheless, the concepts are priceless.
Awesome. Highest value goto conent, ever. Do it again, please...
Great content, I will buy this book to get more details. Thanks
Hi i cannot
Hi Roy, I really like your idea of Unit Test end-points and plan to consider and advocate the perspective from now on. I would like to suggest a fourth type of exit-point of exception confirmation.
I use the Jest framework for JavaScript/TypeScript unit tests. I personally think of unit tests as a way of proving a Unit (and specifically the interface it presents.) I have many examples of the three end-points you discussed but I also have test cases where I exercise the interface where the Unit is expected to throw an exception. This is something Jest supports very well.
I am a firm believer that developers that write code but disregard unit tests are not engaging in Software Engineering.
Thank you Dave for asking so many of the questions that occurred to me.
Hey Gilmoret - I consider exception results as part of the "return value" exit point - but it's not the first time this has been suggested. Always considering it :)
great stuff :)
Where we can read the draft of 3rd edition?
The early access is already out on www.manning.com/books/the-art-of-unit-testing-third-edition