I set up a new machine this week. It is running Windows 7, 64 bit.
I installed Visual Studio 2010 Professional, then Resharper 5.0, rapidly followed by Resharper 5.1 when it came out soon after.
Since I have a project with tests in MbUnit, I have installed MbUnit/Gallio, using the 3.1.397 version x64 msi installer from here.
I was expe...
Hi,
I'm running tests with TD.Net and Gallio. I've got .Net 4.0 installed, but I want to use the 2.0 runtime. I've put <supportedRuntime version="v2.0.50727"/> in my test assembly's app.config, but it still uses the 4.0.
What should I do?
Thanks
ulu
...
Hi,
I am involved in development of unit level test cases for our project. There are both managed code and native C++ code. After some study I chose NUnit for managed code. I would either use Gallio or FireBenchmarks which is an extension to provide HTML outputs and charts etc.
Do we have extensions like this for cppUnit or Boost.Tes...
I'm currently working on some .Net based software (.Net Framework 3.5 SP1) that integrates with HP Quality Center 10.0 through it's COM Client API (often referred to as TDApiOle80 or TDApiOle80.TDConnection).
We are using XUnit 1.6.1.1521 and Gallio 3.1.397.0 (invoked from an msbuild file)
We go through a process of:
Creating a conne...
I was reading about data driven testing using mbunit from this article.
http://blog.benhall.me.uk/2007/04/mbunit-datafixture-data-driven-unit.html
I am using v3 of mbunit now and the attributes used for DataDriven testing are Not applicable in V3 as per the release notes for V3. Using this article http://blog.bits-in-motion.com/2009/03/...
Any pointers for the documentation on the new features of mbunit v3?
...
Hi,
I've run into a weird problem yesterday. I am using selenium-rc along with C# to write test scripts. For the first time, yesterday, I started getting the error "Unable to connect to remote server". It seems to occur randomly at any part of code. e.g. The error is triggered at the statement selenium.setspeed(2000);. In another script...
Hi,
I'm facing a kinda weird problem today. Selenium appears to click on a link in one test case, but, ignores the same link in the subsequent case. This happens with any permutation-combination of test cases. Whichever case run 2nd, fail due to the above problem. can anyone suggest a solution for this?? I've tried selenium.click and se...
The way I have my unit test set up is that a user can run the executable and select a dataset to use. This information is stored in app.config, however when I try to access app.config when running the unit test with Gallio Icarus it doesn't work.
Edit:
I got the field to bind to an Application property however when I call Properties.Se...
Hi everyone,
Now this is tricky. I am trying to do WAP testing using firefox and selenium. For that I've created a custom profile and installed a plugin called modify headers. When I launch the profile manually, the addon works fine. But, when I use it with Selenium RC, then, Firefox disables the plugin, saying that it is incompatible w...
Is it possible to prevent the stack trace from displaying in the reports generated by Gallio Icarus?
...
I'd like to set up our unit tests to use Moles -- mostly so we don't write a lot of interfaces in places that don't call for interfaces. Ok, that part is debatable but it is a concern on our team.
To that end, we're investigating Moles. Moles is nifty. Pex is nifty. The issue is that if we build a unit test that uses Moles, suddenly we...
I have a WCF service with a simple Gallio unit test that calls the service. However, I am confused by the framework's behavior. When I start visual studio for the first time, and try to run the unit test, I get the following error:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://localhost:4367...
I have looked at other questions similar to this and they all seem to be Pre-RTM of Visual Studio 2010 (or they don't have a real answer).
I have downloaded the latest version of Gallio and I am trying to run my MS Test Project using it.
I added Gallio to my References in my MS Test Project then did a full build and then opened the com...
I installed the Gallio bundle Version 3.2 Build 517 in order to use MBUnit. My tests are running fine when I try run them through the Icarus test runner, but when I hit the debug button on the test runner, it tells me it could not attach to the host. If I add some break points and attach the Icarus process to Visual Studio, the break p...
If I have a loaded assembly in Gallio, and I select a couple of Tests and click "Start" it will run those tests and still remember which tests were selected.
On the other hand, if I hit "Reload", it will forget which tests I had selected (rendering the feature kinda useless). Is there any way to prevent this behaviour? I have my tests d...
I've tried googling around for this but have found nothing. Basically, I'd like to run each row in the order I defined it. For example, if I have this:
[Row("a")]
[Row("b")]
[Row("c")]
[Test]
public void Test(string s)...
I want to be sure that test A is executed before test B, and test B is executed before test C.
...
Is it possible to make an extension to icarus that listens to the events from the test run and handles the result on to ie. growl.
I have been searching the internets and could not find a way to do this.
THX
...
Say, I have the following test:
[Test]
public void MyTest( [RandomNumbers( Count=100, Minimum=0, Maximum=1000 )] int number )
{
...
}
And at some point, during my regular build process, it has failed. I got an e-mail notification and set off to investigate.
Now, when I open the test in Visual Studio and click ...
The target framework is .NET 4.0. My solution is a ASP.NET MVC2 project.
I'm using the latest Gallio/mbunit build 3.2.603.
When trying to run code coverage on some mbunit tests, I get no results : Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems.
The tested mbun...