NUnit 3.0 beta 3: NUnit Agent has stopped working

864 views
Skip to first unread message

Thomas Herrmann

unread,
Jul 24, 2015, 2:29:34 AM7/24/15
to NUnit-Discuss
I discovered a problem with NUnit 2.6.4 and tried to find out if it has already been fixed in the 3.0 beta. However, I cannot get NUnit 3 to run.

I tested this on German versions of Windows 7 and 8.1.

The installer runs through without any errors, but no entry in the start menu is created. Is this intentional?

When I manually start nunit-agent-x86.exe or nunit-agent.exe, I get an error dialog:

"NUnit Agent funktioniert nicht mehr", which in English Windows versions is called "NUnit Agent has stopped working".

Running nunit-console.exe works.

Starting nunit-agent-x86.exe from the command line shows the following exception details:

C:\Program Files\NUnit.org\bin>nunit-agent-x86.exe C:\Users\thomasb\Desktop\ADwin.ADwinSystem.dll\ADwinSystemTest\bin\Debug\ADwin.Driver.ADwinSystemTest.dll

Unbehandelte Ausnahme: System.FormatException: GUID muss 32 Ziffern mit 4 Bindestrichen enthalten (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
   bei System.Guid..ctor(String g)
   bei NUnit.Agent.NUnitTestAgent.Main(String[] args)


Starting Visual Studio Debugger showed me this, not sure if it is of any help:

System.IndexOutOfRangeException wurde nicht behandelt.
  Message=Der Index war außerhalb des Arraybereichs.
  Source=nunit-agent-x86
  StackTrace:
       bei NUnit.Agent.NUnitTestAgent.Main(String[] args)
  InnerException:

Regards,
Thomas

Charlie Poole

unread,
Jul 24, 2015, 2:48:21 AM7/24/15
to NUnit-Discuss

There is no program menu entry.

NUnit-agent is an internal program and is never run by users. Any error has to do with the arguments you provided. This is the same in NUnit 2.6.4.

You should be running nunit-console.

Have you reviewed the docs?

--
You received this message because you are subscribed to the Google Groups "NUnit-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nunit-discus...@googlegroups.com.
To post to this group, send email to nunit-...@googlegroups.com.
Visit this group at http://groups.google.com/group/nunit-discuss.
For more options, visit https://groups.google.com/d/optout.

Thomas Herrmann

unread,
Jul 24, 2015, 3:09:44 AM7/24/15
to nunit-...@googlegroups.com
Charlie,

thanks for the prompt responses on both issues. Excellent support so far!

On 24.07.2015 08:48, Charlie Poole wrote:
> NUnit-agent is an internal program and is never run by users. Any error
> has to do with the arguments you provided. This is the same in NUnit 2.6.4.

You are correct. I just checked my links and saw that I was using
NUnit.exe and NUnit-64.exe with NUnit 2.6.4. But since those two files
are missing in my NUnit 3 install, I thought nunit-agent.exe and
nunit-agent-x86.exe would be the right programs to start.

> You should be running nunit-console.
>
> Have you reviewed the docs?

Actually, yes, I went through the upgrading documentation and the
changelog. I had to make some changes to the source because we were
using the Randomizer and ExpectedException quite heavily.

But now, even after reviewing the docs once more, I did not see that
NUnit 3 does not contain a GUI like NUnit 2.6.

Regards,
Thomas

--
Im Bangert 4a
64625 Bensheim
Anfahrt über Darmstädter Straße 196, Volksbankparkplatz
Telefon: 06251-8607026, Mobil:0160-7988654

Charlie Poole

unread,
Jul 24, 2015, 3:12:05 AM7/24/15
to NUnit-Discuss

There will be a gui in the end, but packaged separately.

Reply all
Reply to author
Forward
0 new messages