Deal of the Day

Home » Main » Manning Forums » 2007 » The Art of Unit Testing

Thread: It's certainly a very good book - Paragraph 6.4

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 0 - Pages: 1
powerboots

Posts: 8
Registered: 2/2/08
It's certainly a very good book - Paragraph 6.4
Posted: Feb 15, 2008 8:25 AM
  Click to reply to this thread Reply

Hi all,

I wrote the [SetupFixture] class. This is the same setup for many [TestFixtures] written by other developers. I did not know how to allow other developers to reuse my Setup fixture and the first solution was to use copies in each other testing project. Ugly!

I started to google and browse the NUnit forum, but did not found answers.

I then read the solution in Para 6.4 which recommends for each test project to inherit a basic [SetupFixture] class. (Why didn't I thought about it?)

AND IT WORKS!
So, this is a book that is worth its money.

Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff
Manning Developmental Editor