A
Alvin Bruney
I've a question on unit testing with NUnit. I'm sure I'm missing just a
little thing here. Why doesn't NUnit allow me to test a routine with
parameter in it like what i want to do is test
[TestFixture]
private string testme(string test)
and put my test code in there. So why the emphasis on having me write a
specific routine with a void return type and an empty parameter? Is it
because its forcing me to write a routine to call testme to make sure it
works? Not really sure here. Please advise.
Nial, Skeet, and other Unit advocates
thanks for pushing this. I'm using it in a new project now. I've gotten
really fed up of touching code, introducing bugs and having someone yell at
me rather loudly for insufficient regression testing.
--
Regards,
Alvin Bruney
(dont really know how to sign my name here because of the imposter)
Got Tidbits? Get it here
www.networkip.net/tidbits
little thing here. Why doesn't NUnit allow me to test a routine with
parameter in it like what i want to do is test
[TestFixture]
private string testme(string test)
and put my test code in there. So why the emphasis on having me write a
specific routine with a void return type and an empty parameter? Is it
because its forcing me to write a routine to call testme to make sure it
works? Not really sure here. Please advise.
Nial, Skeet, and other Unit advocates
thanks for pushing this. I'm using it in a new project now. I've gotten
really fed up of touching code, introducing bugs and having someone yell at
me rather loudly for insufficient regression testing.
--
Regards,
Alvin Bruney
(dont really know how to sign my name here because of the imposter)
Got Tidbits? Get it here
www.networkip.net/tidbits