[Please do not mail me a copy of your followup]
boost-users@... spake the secret code
<
h2s7c1$gik$1@...> thusly:
>In Part 2, you recommend using the CHECK macros by default. Being a
>long-time Boost.Test user (as well as a long-time TDD:er) I strongly believe
>that by default one should always use the REQUIRE variety of the Boost.Test
>macros, for a couple of reasons [...]
I'll see about getting that updated soon.
>People will probably object to the above, saying that the want to test
>multiple things in the same test, and want to see the result of all "related
>verifications". [...]
If you read through the whole series, you'll see that each test case
tests one thing and one thing only. I link to xUnit Test Patterns
book online, which has quite a bit to say about test smells.
There's so much to cover on this subject and the posts were already
getting a bit lengthy (originally I thought it would be 1 blog post!).
Thanks for the feedback.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<
http://www.xmission.com/~legalize/book/download/index.html>
Legalize Adulthood! <
http://legalizeadulthood.wordpress.com>
_______________________________________________
Boost-users mailing list
Boost-users@...
http://lists.boost.org/mailman/listinfo.cgi/boost-users