Re: [TFUI] FlexWiki OBT via NUnit

Anthony Williams <anthony_w.geo-/[email protected]> Mon, 04 Jul 2005 09:22:03 +0100
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Phlip <[email protected]> writes:

> TFUIers:
>
> Let's do a little experiment. Download MS's FlexWiki's source from here:
>
>     http://sourceforge.net/projects/flexwiki
>
> Now install NUnit-2.2.0.msi from:
>
>     http://www.nunit.org/download.html
>
> Load FlexWikiCore.sln in DevEnv.exe (Visual Studio 7) and observe it
> has a FlexWiki.UnitTests package. (Kewl! MS may yet compete with
> Google, huh?)
>
> Compile the tests, and run "C:\Program Files\NUnit 2.2\bin\nunit-gui.exe". 
>
> Open FlexWiki.UnitTests\bin\Debug\FlexWiki.UnitTests.dll
>
> The first problem is NUnit complains there are no test fixtures. I
> don't understand how it could lose track of them if they have these
> newfangled [TestFixture] compilable comments on them.
>
> The next problem: This is hardly One Button Testing compliant. I need
> to type, hit Go, optionally keep typing, collect a Pass or Fail, and
> keep typing. I really doubt that people proficient with .NET would
> save, compile, run a command line, open a DLL, and run it just to
> test.
>
> How are people using NUnit, and what is its lifecycle like?

When I've used NUnit (which is admittedly not a great deal), I've used the
text mode runner, and tied it in to the build, so when I build the app, the
tests get run automatically, and the output dumped to the build log. IIRC, 
the test failures give a file and line number for the failed assert when run
under .NET, but not under Mono.

Anthony
-- 
Anthony Williams
Software Developer



To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/