Questions tagged [gallio]

Gallio is an Automation Platform for .NET

From their website:

The Gallio Automation Platform is an open, extensible, and neutral system for .NET that provides a common object model, runtime services and tools (such as test runners) that may be leveraged by any number of test frameworks.

The Gallio platform seeks to facilitate the creation of a rich ecosystem of interoperable testing tools produced by and for the community at large so as to address a far wider range of testing needs than any previous independent testing framework has done before. Unit tests, integration tests, performance tests, and even semi-automated test harnesses should all be able to leverage common facilities where appropriate. Moreover, they should present consistent interfaces to the world so that they can easily be integrated into the systems and processes of the enterprise.

196 questions
0
votes
1 answer

How to get test result in MBUnit

I use MBUnit and Gallio. I want to take screenshot if test resul is fail of browser before it will be closed (I use WebDriver with c#). How I can get test result in test?
user1590561
  • 583
  • 2
  • 6
  • 17
0
votes
1 answer

MbUnit: Run code after all fixtures have been run

I'm using MbUnit + Gallio. I know that MbUnit has attributes which can be applied to methods which should run: [FixtureSetUp] - before each fixture [FixtureTearDown] - after each fixture [SetUp] - before each test [TearDown] - after each test But,…
trickbz
  • 945
  • 1
  • 9
  • 25
0
votes
1 answer

Teamcity not failing build after test report xml import

I have a small powershell task that runs all my unittests using Gallio and teamcity imports the report, but does not fail the build step and does not show the number of tests that failed or passed. So how do I get teamcity to fail the build based on…
Christian
  • 908
  • 1
  • 13
  • 22
0
votes
1 answer

Visual Studio .NET - MbUnit tests using Gallio Integration - issues with multiple asserts

I am using gallio to integrate mbunit's test runner with the mstest test runner in visual studio. it works VERY well - except when I am running a test with multiple assert statements. The test will either pass or fail based on the FIRST assert…
Jason Irwin
  • 1,985
  • 2
  • 29
  • 42
0
votes
2 answers

Gallio with NCover shows 0% code coverage in Sonar UI

I am using sonar-runner to run tests and code coverage over my C# code with the help of gallio plugin. The tests are running fine, but I am not able to see any code coverage on the sonar web UI. My Sonar settings are as…
Arpit
  • 6,212
  • 8
  • 38
  • 69
0
votes
1 answer

sonar with gallio and opencover, code coverage: 0%

I'm using sonar to check my c# project. I would like to measure code coverage that's why i installed gallio and opencover. When I run soner-runner everything works fine, my unit test is performed, ... but the code coverage is 0% on the sonar web UI.…
user1414731
  • 35
  • 1
  • 6
0
votes
1 answer

Sonar #Gallio with NUnit 2.6.4

I have our Test Projects referncing to NUnit Framework "" Getting the following error Detected a probable test framework assembly version mismatch. Referenced test frameworks: 'nunit.framework, Version=2.4.6.0, Culture=neutral, …
Arpit
  • 6,212
  • 8
  • 38
  • 69
0
votes
0 answers

Using Visual Studio generated SOAP service reference in multithreaded testing (MBUnit)

I have written MbUnit tests which consume a SOAP service via a client generated by "Add service reference" in VS 2010. The tests are run in parallel by using the DegreeOfParallelism attribute, and therefore have up to 10 tests running at once, each…
Robbie Wareham
  • 3,380
  • 1
  • 20
  • 38
0
votes
1 answer

PostSharp vs. MbUnit: TypeLoadException

I have a small solution with an WPF GUI project, some business logic in library projects and test projects using MbUnit/ Gallio. Everything worked fine so far. After I added PostSharp Diagnostics Toolkit for Log4Net in it's current version 2.1.6.4…
Silas
  • 1,140
  • 11
  • 12
0
votes
0 answers

passing object in the Row attribute of a unit test

i am trying to pass an object alongside with other parameters in the Row attribute of a unit test. [Row("Test1", new CustomField(), 3)] // parameters MUST be string, object and int public void Test_Constructor(string testType,…
raberana
  • 11,739
  • 18
  • 69
  • 95
0
votes
1 answer

Portable Gallio.Echo and the user cache

Is there a way to disable/redirect Gallio's plugin cache via Gallio.Echo (or a configuration file)? I'm trying to keep my build portable and the cache is getting in the way.
Richard Szalay
  • 83,269
  • 19
  • 178
  • 237
0
votes
1 answer

How to run NCover v1.5.8 & Gallio v3.3 on x64 machine

I'm struggling with NCover v1.5.8 & Gallio v3.3 on x64 machine. It can run all the tests but cannot produce the coverage report. The error message: "Profiled process terminated. Profiler connection not established" The command line I…
Van Thoai Nguyen
  • 986
  • 9
  • 22
0
votes
1 answer

mbunit v2 vs v3 xml report files

Our test source tree currently contains c# projects that either contain mbunit v2 tests or v3 tests (the newest projects). Our old v2 test projects were exes that used the "autorunner" to generate XML reports. Since the new projects are using Gallio…
Ben
0
votes
1 answer

Sonar, Sonar-runner, Gallio and NCover ... Gallio doesn't run :(

is there anyone out there who actually managed to get sonar-runner working with Gallio and Ncover? I've tried every combination in the book and during the run it keeps telling me "INFO s.p.c.g.GallioSensor - Gallio won't execute as there are no…
0
votes
1 answer

Issue when I am running sonar for my solution. Coverage report is not created by NCover from gallio using sonar

I have an issue when I am running sonar for my solution. we have configured the sonar with Gallio and NCover. But the coverage result is not showing in the result. These are the software versions which we have on our build servers: Sonar v2.14 Java…
Sareesh
  • 85
  • 1
  • 9
1 2 3
13
14