Anyone can upload a patch. Patches are evaluated by project team members and either Applied or Declined.
1-10 of 11Patches
< Previous 1 2 Next >
Being evaluated
|
1452 |
Tue at 10:41 AM
|
davidwalker |
This patch fixes a bug in the gui runners progress bar control where an exception was thrown under either of the following conditions: a) The runner window was resized so that the progress bar had no width. b) The number of tests was greater than the width of the progress bar.
|
|
Download
|
Being evaluated
|
1451 |
Tue at 10:11 AM
|
davidwalker |
This small patch fixes a bug in the ReSharper runner where tests in the base class of the test case class were not being executed. These tests run fine with other runners.
|
|
Download
|
Being evaluated
|
1314 |
May 29 at 1:56 PM
|
bmatte |
I've created a xunitext.runner.nant class library project that implement a NAnt Task and a simple example that show how to use it in a build file. The syntax is very simple:
<?xml version="1.0" encoding="utf-8"?> <project name="NAntBuildSample" default="Test" xmlns="http://nant.sf.net/release/0.85/nant.xsd"> <loadtasks assembly="..\xunit\xunitext.runner.nant.dll" /> ... <target name="Test" depends="Build"> <xunit failonerror="true"> <test assembly="NAntBuildSample1.dll" xml="NAntBuildSample1.dll.xml" /> <test assembly="NAntBuildSample2.dll" html="NAntBuildSample1.dll.html" /> </xunit> </target> ... </project>
|
5024
|
Download
|
Applied Jun 18
|
1313 |
May 29 at 1:10 AM
|
lette |
When run on a non-english OS, we get 21 failing tests.
To the best of my knowledge, the reasons for these failures are:
1. Comparing localized xml with non-localized xml, that represents floating point numbers. (16 failures) 2. Relying on strings from Exception objects (and it's subclasses) not being localized. (5 failures)
The solution to the first category of failures is to make sure that the xml never get's localized, and localize only where the data is actually presented to the end user.
Note 1: This patch does not modify any of the xslt files.
Note 2: I've only patched code that deals with the "time" attribute. It might be a good idea to look at all attributes which represent numerical data. (Thousands separators, anyone?)
Note 3: I also patched the TheoryCommand, since it serializes the actual method call with parameters to xml. Any numerical parameters should not be localized since that would not generate valid C# code.
The solution to the second category of failures is to provide our own message in the constructor for every Exception, and not rely on the default message, since it is localized (together with the word "at" in the stack trace). After all, we are verifying that xUnit works as expected. The Exception types themselves are not the system under test.
|
|
Download
|
Applied Jun 18
|
1321 |
May 31 at 12:17 PM
|
hwiechers |
Adds an EnumerableData Theory. This supplies a Theory with data from a class that implements IEnumerable<object[]>. It is similar to PropertyData but has two advantages. 1. The parameter is refactor-friendly. (PropertyData just takes a string.) 2. The data can be shared between test classes.
|
|
Download
|
Applied Dec 18 2007
|
535 |
Dec 8 2007 at 12:21 AM
|
harrypierson |
Three small changes to enable static method tests. Xunit.Sdk.ReflectionTypeInfo - Changed bindingFlags to include BindingFlags.Static Xunit.Sdk.MethodUtility - changed IsTest() to not check for IsStatic Xunit.Sdk.CreationCommand - Changed Execute method to only create a testClass instance if it's currently null and method is not static. Perhaps it would be better to update TestCommandFactory.Make to only return a CreationCommand if the method is not static, but this seemed more straightforward.
Here's a sample F# file that implements Xunit tests:
#light open Xunit
[<Fact>] let TestSuccess () = Assert.True(true)
[<Fact>] let TestFail () = Assert.True(false)
|
2668
|
Download
|
Declined Jun 18
|
1203 |
May 10 at 12:15 AM
|
Rafiki |
Simple refresh of the GUI runner. Added tree view a la NUnit GUI.
|
1506
|
|
Declined Jun 18
|
1091 |
Apr 9 at 5:04 PM
|
fbzhong |
Sorry, the previous patch has some issues, as the following: 1. No version number. 2. Add R# 4.0 support for xUnit. 3. Fix a bug in xunit testing project, which lack the Public modifier.
and, I am not very familiar with the structure of your code, so I modify the old code instead of create new~ sorry~
btw, I have run the Test in R#. All passed :)
|
|
|
Declined Jun 18
|
1090 |
Apr 9 at 4:21 PM
|
fbzhong |
Currently, the Resharper is working on 4.0 EAP. I do this patch to support xUnit Test Runner for R# 4.0. :)
|
|
|
Declined Jun 18
|
1286 |
May 23 at 2:52 PM
|
bmatte |
Add empty extensions for string type
|
4970
|
|
1-10 of 11Patches
< Previous 1 2 Next >