Supposing your test assembly is MyWCFStuff.Tests.dll, put your configuration
into a MyWCFStuff.Tests.dll.config file.

This definitely works when running MbUnit v2 tests using Gallio and I think
it should also work using the older MbUnit.GUI.exe as well.

Make sure the config file is well-formed.  You might not get an error if the
config file is malformed under the MbUnit v2 test runners, but it won't work
either.  :-p

Jeff.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Gene
Sent: Wednesday, August 05, 2009 10:57 AM
To: MbUnit.User
Subject: MbUnit WCF config - how to set things up


I am trying to use MbUnit.GUI.exe to test code that talks to a WCF server.
In order to talk to the WCF server, the config file needs to have the WCF
system.serviceModel config information in it.  I have tried to put the
config info into MbUnit.GUI.exe.config, but it doesn't seem to be seen.

I get the error: Could not find endpoint element ....  which is a symptom of
not having the WCF endpoint defined.

Can anyone tell me how to get MbUnit.GUI to understand WCF endpoints?

thanks,

Gene


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to