-test option is ignored

5 views
Skip to first unread message

hellboy

unread,
Aug 21, 2012, 9:40:45 AM8/21/12
to nuni...@googlegroups.com

-test:<testname>  Provides the name of a test to be exected.
                      May be repeated. If this option is not used,
                      all tests are run.


namespace MyProject.Tests
{
    class Program
    {
 static void Main(string[] args)
{
new TextUI().Execute(args);
}
}
}

For both commands:
MyProject.Tests.exe -test:MyProject.Tests.MyTests

MyProject.Tests.exe -test:MyTests

-test option is ignored. Why?

Charlie Poole

unread,
Aug 21, 2012, 1:06:21 PM8/21/12
to nuni...@googlegroups.com
Hi,
There's an outstanding bug on this.

Of the two commands above, the one with the full name
of the test is correct.

There are no tests shown above, but I assume you actually
have a test called MyProject.Tests.MyTests. :-)

Charlie

> --
> You received this message because you are subscribed to the Google Groups
> "NUnitLite" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/nunitlite/-/zECW5GX4fGcJ.
> To post to this group, send email to nuni...@googlegroups.com.
> To unsubscribe from this group, send email to
> nunitlite+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nunitlite?hl=en.
Reply all
Reply to author
Forward
0 new messages