Re: Simple question

"Schnick, Michael" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <BBFA6E2F6CA0A54A96755EB3353503D1010ABD61@mandoki.europe.pc.cognex.com>
Hi Jerome,

 

I'm using Nunit to dispatch my tests, only.

You can use whatever code you like within the unit tests, so a simple
WriteLine is no problem at all.

 

I'm gathering a lot of data in the tests and write them to stdout as
well as an own logging facility.

Maybe this could help you, too.

 

In that case, you don't use assertions at all, or only use assertions to
compare the values to thresholds if you like to.

 

Best regards

Michael

 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Jerome
Gransac
Sent: Mittwoch, 21. Mai 2008 11:00
To: NUnit
Subject: [Nunit-users] Simple question

 

Hi to all

 

I am a newbie and I have a simple question. 

Maybe some of you will answer that it is not the purpose of Unit
testing, but here is my question:

 

Is it possible to with NUnit to display values (of results) instead of
assertions?

 

I mean, i don't want to test values (like Assert.AreEqual(....)), i just
need to display some values that i would use as a test result

 

Any help would be appreciated

 

 

-- 
----------------------------------------
Jerome GRANSAC - SUPPORT Live Music !!
Mob: +33 (0) 662 771 822
[email protected]  / www.jazzoscope.com

"Le jazz, c'est l'expression de l'hysterie masculine" - Agnes Jaoui
"I am like a bird. You don't have to listen to me, but I am there" - Sun
Ra
"Jazz isn't dead. It just smells funny" - FZ

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.