<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>xunit Work Item Rss Feed</title><link>http://www.codeplex.com/xunit/WorkItem/List.aspx</link><description>xunit Work Item Rss Description</description><item><title>Commented Issue: Add overload of Assert.Equal(IEnumerable) with key comparer [9807]</title><link>http://xunit.codeplex.com/workitem/9807</link><description>At present, I use the following helper which leverages the collection level diff report to be able to do an order-insensitive sequence comparison&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;static class AssertExtensions&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;public static void SequenceEqual&amp;#60;T, T2&amp;#62;&amp;#40; IEnumerable&amp;#60;T&amp;#62; left, IEnumerable&amp;#60;T&amp;#62; right, Func&amp;#60;T, T2&amp;#62; keySelector, Func&amp;#60;T, T, bool&amp;#62; comparer &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;Assert.Equal&amp;#40; left.OrderBy&amp;#40; keySelector &amp;#41;, right.OrderBy&amp;#40; keySelector &amp;#41;, new FuncEqualityComparer&amp;#60;T&amp;#62;&amp;#40; comparer &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public static void SequenceEqual&amp;#60;T&amp;#62;&amp;#40; IEnumerable&amp;#60;T&amp;#62; left, IEnumerable&amp;#60;T&amp;#62; right &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;Assert.Equal&amp;#40; left.OrderBy&amp;#40; x &amp;#61;&amp;#62; x &amp;#41;, right.OrderBy&amp;#40; x &amp;#61;&amp;#62; x &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#47;&amp;#47; http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;a&amp;#47;3719617&lt;br /&gt;&amp;#9;&amp;#9;class FuncEqualityComparer&amp;#60;T&amp;#62; &amp;#58; IEqualityComparer&amp;#60;T&amp;#62;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;readonly Func&amp;#60;T, T, bool&amp;#62; _comparer&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;readonly Func&amp;#60;T, int&amp;#62; _hash&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public FuncEqualityComparer&amp;#40; Func&amp;#60;T, T, bool&amp;#62; comparer &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#58; this&amp;#40; comparer, t &amp;#61;&amp;#62; 0 &amp;#41; &amp;#47;&amp;#47; NB Cannot assume anything about how e.g., t.GetHashCode&amp;#40;&amp;#41; interacts with the comparer&amp;#39;s behavior&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public FuncEqualityComparer&amp;#40; Func&amp;#60;T, T, bool&amp;#62; comparer, Func&amp;#60;T, int&amp;#62; hash &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;_comparer &amp;#61; comparer&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;_hash &amp;#61; hash&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public bool Equals&amp;#40; T x, T y &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;return _comparer&amp;#40; x, y &amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public int GetHashCode&amp;#40; T obj &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;return _hash&amp;#40; obj &amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;Comments: Consider making it as simple as possible by leaning on Tuple.Create as a way to implement a key extractor and skipping impl of equality comparers or Equals lambdas, see  http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;a&amp;#47;1239337&amp;#47;11635</description><author>bartelink</author><pubDate>Mon, 06 May 2013 20:15:13 GMT</pubDate><guid isPermaLink="false">Commented Issue: Add overload of Assert.Equal(IEnumerable) with key comparer [9807] 20130506081513P</guid></item><item><title>Closed Issue: Consider allowing [PropertyData] to be found on derived classes of abstract test classes [9738]</title><link>http://xunit.codeplex.com/workitem/9738</link><description>This works fine....&lt;br /&gt;&lt;br /&gt;public interface IFoo&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;int AddsNumbers&amp;#40;int x, int y&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;public class Foo &amp;#58; IFoo&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;public int AddsNumbers&amp;#40;int x, int y&amp;#41; &amp;#123; return x &amp;#43; y&amp;#59; &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;public abstract class IFooTest&amp;#60;T&amp;#62;&lt;br /&gt;&amp;#9;where T&amp;#58; IFoo&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;private Func&amp;#60;T&amp;#62; factory&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;public IFooTest&amp;#40;Func&amp;#60;T&amp;#62; factory&amp;#41;&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;this.factory &amp;#61; factory&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;public static IEnumerable&amp;#60;object&amp;#91;&amp;#93;&amp;#62; Expectations&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;get&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;yield return new object&amp;#91;&amp;#93; &amp;#123; 1, 2, 3 &amp;#125;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#91;Theory&amp;#93;&lt;br /&gt;&amp;#9;&amp;#91;PropertyData&amp;#40;&amp;#34;Expectations&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;&amp;#9;public void Adds_ReturnsExpectedValues&amp;#40;int x, int y, int expected&amp;#41;&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;Assert.Equal&amp;#40;expected, factory&amp;#40;&amp;#41;.AddsNumbers&amp;#40;x, y&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;Consider where IFoo was really IFoo&amp;#60;T&amp;#62; and the signature of AddNumbers becomes T AddsNumbers&amp;#40;T x, T y&amp;#41; -- trivial example, but sufficient for illustrative purposes I think.  In this case, I&amp;#39;d like to see the abstract test class provides the reusable test code meat, and derived classes provide the data for the tests  So, I would like to see something like this work&amp;#58;&lt;br /&gt;&lt;br /&gt;public abstract class IFooTest&amp;#60;T&amp;#62;&lt;br /&gt;&amp;#9;where T&amp;#58; IFoo&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;protected Func&amp;#60;T&amp;#62; factory&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;public IFooTest&amp;#40;Func&amp;#60;T&amp;#62; factory&amp;#41;&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;this.factory &amp;#61; factory&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#91;Theory&amp;#93;&lt;br /&gt;&amp;#9;&amp;#91;PropertyData&amp;#40;&amp;#34;Expectations&amp;#34;&amp;#41;&amp;#93;&lt;br /&gt;&amp;#9;public void Adds_ReturnsExpectedValues&amp;#40;int x, int y, int expected&amp;#41;&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;Assert.Equal&amp;#40;expected, factory&amp;#40;&amp;#41;.AddsNumbers&amp;#40;x, y&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;public class FooTest &amp;#58; IFooTest&amp;#60;Foo&amp;#62;&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;public FooTest&amp;#40;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#58; base&amp;#40;&amp;#40;&amp;#41; &amp;#61;&amp;#62; new Foo&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#123; &amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;public static IEnumerable&amp;#60;object&amp;#91;&amp;#93;&amp;#62; Expectations&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;get&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;yield return new object&amp;#91;&amp;#93; &amp;#123; 1, 2, 3 &amp;#125;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;As it stands, this yields &lt;br /&gt;&lt;br /&gt;Adds_ReturnsExpectedValues has failed&lt;br /&gt;&lt;br /&gt;System.InvalidOperationException &amp;#58; An exception was thrown while getting data for theory xUnit.Theory.Test.FooTest.Adds_ReturnsExpectedValues&amp;#58;&lt;br /&gt;System.ArgumentException&amp;#58; Could not find public static property Expectations on xUnit.Theory.Test.IFooTest&amp;#96;1&amp;#91;&amp;#91;xUnit.Theory.Test.Foo, xUnit.Theory.CodeRush.Bug, Version&amp;#61;1.0.0.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;null&amp;#93;&amp;#93;&lt;br /&gt;   at Xunit.Extensions.PropertyDataAttribute.GetData&amp;#40;MethodInfo methodUnderTest, Type&amp;#91;&amp;#93; parameterTypes&amp;#41;&lt;br /&gt;   at Xunit.Extensions.TheoryAttribute.&amp;#60;GetData&amp;#62;d__7.MoveNext&amp;#40;&amp;#41;&lt;br /&gt;   at Xunit.Extensions.TheoryAttribute.EnumerateTestCommands&amp;#40;IMethodInfo method&amp;#41;&lt;br /&gt;Xunit.Extensions.TheoryAttribute.&amp;#60;&amp;#62;c__DisplayClass5.b__1&amp;#40;&amp;#41;&lt;br /&gt;Xunit.Extensions.TheoryAttribute.LambdaTestCommand.Execute&amp;#40;Object testClass&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I think this is a pretty straightforward tweak to the existing code base, but didn&amp;#39;t know if you had any theoretical or design objections to enabling such functionality.&lt;br /&gt;Comments: We have considered this and decided not to implement it.&amp;#10;&amp;#10;The inverse feature &amp;#40;&amp;#34;find property data on base classes&amp;#34;&amp;#41; is coming in v2.</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:27:56 GMT</pubDate><guid isPermaLink="false">Closed Issue: Consider allowing [PropertyData] to be found on derived classes of abstract test classes [9738] 20130505012756A</guid></item><item><title>Edited Issue: Add assertion overloads for Func&lt;&gt; comparers [9808]</title><link>http://xunit.codeplex.com/workitem/9808</link><description>Now that we have access to general purpose lambdas, it would be nice to add overloads to the assertions which currently take things like IComparer&amp;#60;T&amp;#62; and IEqualityComparer&amp;#60;T&amp;#62; to include functions which do the comparisons &amp;#40;would likely be something like Func&amp;#60;T,T,int&amp;#62; and Func&amp;#60;T,T,bool&amp;#62;, respectively&amp;#41;.&lt;br /&gt;</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:26:15 GMT</pubDate><guid isPermaLink="false">Edited Issue: Add assertion overloads for Func&lt;&gt; comparers [9808] 20130505012615A</guid></item><item><title>Closed Issue: Assert.NotNull should yield its argument [9809]</title><link>http://xunit.codeplex.com/workitem/9809</link><description>Within the Assert phase of a test, Assert.IsType can often lead to a very legible way of expressing the flow of one&amp;#39;s observations. In this context, one is often also doing Null checks.&lt;br /&gt;i.e., I want to be able to do an assert and an assign &amp;#40;0r follow-on Assert&amp;#41;&amp;#58;&lt;br /&gt;&lt;br /&gt;var result &amp;#61; Act&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;var links &amp;#61; Assert.NotNull&amp;#40; result.Links&amp;#41;&amp;#59;&lt;br /&gt;Assert.NotEmpty&amp;#40; Assert.NotNull&amp;#40; links.Self&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;Assert.NotEmpty&amp;#40; Assert.NotNull&amp;#40; links.SeeAlso&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;Some reasons it should not be done&amp;#58;&lt;br /&gt;- encourages overly constraining Assert sections in tests&lt;br /&gt;- things like Assert.NotEmpty and Assert.IsType already do checks like this&lt;br /&gt;- this sort of assertion is a bad idea in the Arrange and Act phases&lt;br /&gt;Comments: The reason IsType and Single do this is because either the type changes in the former, and to save an extra line of code&amp;#47;re-enumeration in the latter. There is no value in this feature as specified.</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:25:48 GMT</pubDate><guid isPermaLink="false">Closed Issue: Assert.NotNull should yield its argument [9809] 20130505012548A</guid></item><item><title>Closed Issue: Install obfuscated at high DPI [9810]</title><link>http://xunit.codeplex.com/workitem/9810</link><description>Hi. If you run the xunit installer at high DPI, it looks bad, one can&amp;#39;t read all the text http&amp;#58;&amp;#47;&amp;#47;i.imgur.com&amp;#47;W1rLi.png&lt;br /&gt;Comments: The installer has been removed in v2.</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:23:41 GMT</pubDate><guid isPermaLink="false">Closed Issue: Install obfuscated at high DPI [9810] 20130505012341A</guid></item><item><title>Closed Issue: running tests in random order appears to be broken in 1.9.1 [9812]</title><link>http://xunit.codeplex.com/workitem/9812</link><description>imho, one of the very best features of xUnit.net is the running of unit tests in random order because this lessens substantially the chance of unit tests having dependency smells.&lt;br /&gt;&lt;br /&gt;i&amp;#39;m using vs2012 RC to run some very simple tests ... i&amp;#39;m rerun them again and again and again but the order does not change.&lt;br /&gt;&lt;br /&gt;xUnit version&amp;#58;  1.9.1.1600&lt;br /&gt;runner&amp;#58;  via NuGet&amp;#58;  xunit.runners.1.9.1  tools xunit.gui.clr-4.exe&lt;br /&gt;Microsoft Visual Studio Ultimate 2012 RC      Version 11.0.50522.1 RCREL&lt;br /&gt;win7&amp;#59; intel i3-350M processor &amp;#40;dual core, 4 logical CPUs&amp;#41;&lt;br /&gt;&lt;br /&gt;they always run in this order&amp;#58;&lt;br /&gt;&lt;br /&gt;FileFinder.xUnit.net.Tests  FileFinderTDD    thisTestAlwaysFails&lt;br /&gt;FileFinder.xUnit.net.Tests  ssssssssssssssssssssssss  this_extra_xUnit_net_test_always_fails&lt;br /&gt;FileFinder.xUnit.net.Tests  ssssssssssssssssssssssss  this_xUnit_net_test_always_fails&lt;br /&gt;&lt;br /&gt;when i add more tests&amp;#42;, the lack of random behavior is consistent ...&lt;br /&gt;-- classes are run in same order as in the source code&lt;br /&gt;-- within classes, tests are run in reverse order to their position within their corresponding classes&lt;br /&gt;&lt;br /&gt;g.&lt;br /&gt;&lt;br /&gt; ----------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;using System&amp;#59;&lt;br /&gt;using System.Collections.Generic&amp;#59;&lt;br /&gt;using System.Linq&amp;#59;&lt;br /&gt;using System.Text&amp;#59;&lt;br /&gt;using System.Threading.Tasks&amp;#59;&lt;br /&gt;&lt;br /&gt;namespace FileFinder.xUnit.net.Tests&lt;br /&gt;&amp;#123;&lt;br /&gt;    public class FileFinderTDD&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void thisTestAlwaysFails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    public class ssssssssssssssssssssssss&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void this_xUnit_net_test_always_fails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void this_extra_xUnit_net_test_always_fails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;   --------------------------------------------------&lt;br /&gt;&amp;#42;   more tests version&amp;#58;&lt;br /&gt;&lt;br /&gt;using System&amp;#59;&lt;br /&gt;using System.Collections.Generic&amp;#59;&lt;br /&gt;using System.Linq&amp;#59;&lt;br /&gt;using System.Text&amp;#59;&lt;br /&gt;using System.Threading.Tasks&amp;#59;&lt;br /&gt;&lt;br /&gt;namespace FileFinder.xUnit.net.Tests&lt;br /&gt;&amp;#123;&lt;br /&gt;    public class FileFinderTDD&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void thisTestAlwaysFails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void this_xUnit_net_test_always_fails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void this_extra_xUnit_net_test_always_fails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;    &amp;#125;&lt;br /&gt;    public class ssssssssssssssssssssssss&lt;br /&gt;    &amp;#123;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void this_xUnit_net_test_always_fails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void this_extra_xUnit_net_test_always_fails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;        &amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;        public void thisTestAlwaysFails&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Xunit.Assert.True&amp;#40;false&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;   --------------------------------------------------&lt;br /&gt;&lt;br /&gt;Microsoft Visual Studio Ultimate 2012 RC      Version 11.0.50522.1 RCREL&lt;br /&gt;Microsoft .NET Framework   Version 4.5.50501&lt;br /&gt;&lt;br /&gt;Installed Version&amp;#58; Ultimate&lt;br /&gt;&lt;br /&gt;Architecture and Modeling Tools   04166-004-0009005-02449&lt;br /&gt;Architecture and Modeling Tools&lt;br /&gt;    &lt;br /&gt;UML&amp;#174; and Unified Modeling Language&amp;#8482; are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.&lt;br /&gt;&lt;br /&gt;LightSwitch for Microsoft Visual Studio 2012 RC   04166-004-0009005-02449&lt;br /&gt;LightSwitch for Microsoft Visual Studio 2012 RC&lt;br /&gt;&lt;br /&gt;Microsoft Office Developer Tools   04166-004-0009005-02449&lt;br /&gt;Microsoft Office Developer Tools&lt;br /&gt;&lt;br /&gt;Microsoft Visual Basic 2012 RC   04166-004-0009005-02449&lt;br /&gt;Microsoft Visual Basic 2012 RC&lt;br /&gt;&lt;br /&gt;Microsoft Visual C&amp;#35; 2012 RC   04166-004-0009005-02449&lt;br /&gt;Microsoft Visual C&amp;#35; 2012 RC&lt;br /&gt;&lt;br /&gt;Microsoft Visual C&amp;#43;&amp;#43; 2012 RC   04166-004-0009005-02449&lt;br /&gt;Microsoft Visual C&amp;#43;&amp;#43; 2012 RC&lt;br /&gt;&lt;br /&gt;Microsoft Visual F&amp;#35; 2012   04166-004-0009005-02449&lt;br /&gt;Microsoft Visual F&amp;#35; 2012&lt;br /&gt;&lt;br /&gt;Microsoft Visual Studio 2012 RC Code Analysis Spell Checker   04166-004-0009005-02449&lt;br /&gt;Microsoft&amp;#174; Visual Studio&amp;#174; 2012 RC Code Analysis Spell Checker&lt;br /&gt;&lt;br /&gt;Portions of International CorrectSpell&amp;#8482; spelling correction system &amp;#169; 1993 by Lernout &amp;#38; Hauspie Speech Products N.V. All rights reserved.&lt;br /&gt;&lt;br /&gt;The American Heritage&amp;#174; Dictionary of the English Language, Third Edition Copyright &amp;#169; 1992 Houghton Mifflin Company. Electronic version licensed from Lernout &amp;#38; Hauspie Speech Products N.V. All rights reserved.&lt;br /&gt;&lt;br /&gt;Microsoft Visual Studio 2012 SharePoint Developer Tools   04166-004-0009005-02449&lt;br /&gt;Microsoft Visual Studio 2012 SharePoint Developer Tools&lt;br /&gt;&lt;br /&gt;Microsoft Visual Studio 2012 Team Explorer RC   04166-004-0009005-02449&lt;br /&gt;Microsoft Visual Studio 2012 Team Explorer RC&lt;br /&gt;&lt;br /&gt;Microsoft Visual Web Developer 2012 RC   04166-004-0009005-02449&lt;br /&gt;Microsoft Visual Web Developer 2012 RC&lt;br /&gt;&lt;br /&gt;Microsoft SQL Server Data Tools   11.1.20425.00&lt;br /&gt;Microsoft SQL Server Data Tools&lt;br /&gt;&lt;br /&gt;NuGet Package Manager   1.8.30423.9026&lt;br /&gt;NuGet Package Manager in Visual Studio. For more information about NuGet, visit http&amp;#58;&amp;#47;&amp;#47;docs.nuget.org&amp;#47;.&lt;br /&gt;&lt;br /&gt;PreEmptive Analytics Visualizer   1.0&lt;br /&gt;Visual Studio 11 extension to visualize aggregated summaries from the PreEmptive Analytics product.&lt;br /&gt;&lt;br /&gt;Web Tooling Extensions RC   1.0&lt;br /&gt;Page Inspector&amp;#58; Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.&lt;br /&gt;Web Publishing&amp;#58; Extensions required for Web Publishing for both hosted servers as well as on premises.&lt;br /&gt;Web Form Templates&amp;#58; Includes the default templates for Web Form Applications.&lt;br /&gt;Editor Extensions&amp;#58; Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.&lt;br /&gt;Comments: We have no plans to change this behavior at the moment.&amp;#10;&amp;#10;However, in v2, test collections will introduce parallelization which will introduce a much higher degree of randomness, including the behavior you&amp;#39;re asking for.</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:22:51 GMT</pubDate><guid isPermaLink="false">Closed Issue: running tests in random order appears to be broken in 1.9.1 [9812] 20130505012251A</guid></item><item><title>Closed Issue: Allow tests in non-public classes [9801]</title><link>http://xunit.codeplex.com/workitem/9801</link><description>Remove the requirement that a class containing tests be marked &amp;#96;public&amp;#96;.&lt;br /&gt;&lt;br /&gt;1. It&amp;#39;s currently error-prone, as you might forget to mark your test class &amp;#96;public&amp;#96; and the tests will quietly never run, giving a false sense of security.&lt;br /&gt;&lt;br /&gt;2. You never actually expect someone to consume a test class as a class, outside of the context of a unit testing framework. That is, it&amp;#39;s not a public API in the normal sense. &lt;br /&gt;&lt;br /&gt;3. There&amp;#39;s a nice &amp;#40;although uncommon&amp;#41; pattern where the unit tests for a class live in a nested class called &amp;#96;Test&amp;#96;, like this&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;class MyClass&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;class Tests&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#91;Xunit.Fact&amp;#93;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;void ATest&amp;#40;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#47;&amp;#47;...&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;Comments: We have private tests in public classes but we not intend ti have tests in non-public classes. </description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:19:38 GMT</pubDate><guid isPermaLink="false">Closed Issue: Allow tests in non-public classes [9801] 20130505011938A</guid></item><item><title>Edited Issue: Exceptions from Dispose method should be aggregated with exceptions from test method [9817]</title><link>http://xunit.codeplex.com/workitem/9817</link><description>On occasion I like to use the Dispose&amp;#40;&amp;#41; method on a test class to perform general asserts that should hold for every test case&amp;#58;&lt;br /&gt;&lt;br /&gt;public class Tests &amp;#58; IDisposable &amp;#123;&lt;br /&gt;    public void Dispose&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#47; general asserts&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;    &amp;#91;Fact&amp;#93;&lt;br /&gt;    public void Test&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;        &amp;#47;&amp;#47; specific asserts&lt;br /&gt;    &amp;#125;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;However, the current behavior is that an assert failure in the Dispose method will blow away any assert failures in the test method. This makes it tricky to debug regressions in tests because the UI presents incomplete information.&lt;br /&gt;It would be nice if exceptions from the test method were aggregated with exceptions from the Dispose method, such that if something fails we see a full picture of what&amp;#39;s going on &amp;#40;and make sure to preserver the order&amp;#58; test method first, Dispose second&amp;#40;&amp;#41;&amp;#41;.&lt;br /&gt;</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:17:18 GMT</pubDate><guid isPermaLink="false">Edited Issue: Exceptions from Dispose method should be aggregated with exceptions from test method [9817] 20130505011718A</guid></item><item><title>Edited Issue: Add overload of Assert.Equal(IEnumerable) with key comparer [9807]</title><link>http://xunit.codeplex.com/workitem/9807</link><description>At present, I use the following helper which leverages the collection level diff report to be able to do an order-insensitive sequence comparison&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;static class AssertExtensions&lt;br /&gt;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;public static void SequenceEqual&amp;#60;T, T2&amp;#62;&amp;#40; IEnumerable&amp;#60;T&amp;#62; left, IEnumerable&amp;#60;T&amp;#62; right, Func&amp;#60;T, T2&amp;#62; keySelector, Func&amp;#60;T, T, bool&amp;#62; comparer &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;Assert.Equal&amp;#40; left.OrderBy&amp;#40; keySelector &amp;#41;, right.OrderBy&amp;#40; keySelector &amp;#41;, new FuncEqualityComparer&amp;#60;T&amp;#62;&amp;#40; comparer &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public static void SequenceEqual&amp;#60;T&amp;#62;&amp;#40; IEnumerable&amp;#60;T&amp;#62; left, IEnumerable&amp;#60;T&amp;#62; right &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;Assert.Equal&amp;#40; left.OrderBy&amp;#40; x &amp;#61;&amp;#62; x &amp;#41;, right.OrderBy&amp;#40; x &amp;#61;&amp;#62; x &amp;#41; &amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#47;&amp;#47; http&amp;#58;&amp;#47;&amp;#47;stackoverflow.com&amp;#47;a&amp;#47;3719617&lt;br /&gt;&amp;#9;&amp;#9;class FuncEqualityComparer&amp;#60;T&amp;#62; &amp;#58; IEqualityComparer&amp;#60;T&amp;#62;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;readonly Func&amp;#60;T, T, bool&amp;#62; _comparer&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;readonly Func&amp;#60;T, int&amp;#62; _hash&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public FuncEqualityComparer&amp;#40; Func&amp;#60;T, T, bool&amp;#62; comparer &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;&amp;#58; this&amp;#40; comparer, t &amp;#61;&amp;#62; 0 &amp;#41; &amp;#47;&amp;#47; NB Cannot assume anything about how e.g., t.GetHashCode&amp;#40;&amp;#41; interacts with the comparer&amp;#39;s behavior&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public FuncEqualityComparer&amp;#40; Func&amp;#60;T, T, bool&amp;#62; comparer, Func&amp;#60;T, int&amp;#62; hash &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;_comparer &amp;#61; comparer&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;_hash &amp;#61; hash&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public bool Equals&amp;#40; T x, T y &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;return _comparer&amp;#40; x, y &amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;public int GetHashCode&amp;#40; T obj &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;return _hash&amp;#40; obj &amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&amp;#9;&amp;#125;&lt;br /&gt;</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:15:23 GMT</pubDate><guid isPermaLink="false">Edited Issue: Add overload of Assert.Equal(IEnumerable) with key comparer [9807] 20130505011523A</guid></item><item><title>Commented Issue: Offer display options in VS2012 runner [9828]</title><link>http://xunit.codeplex.com/workitem/9828</link><description>The VS2012 runner today only shows tests by test method name. Options should allow the user to include class and namespace names, if desired.&lt;br /&gt;Comments: For v2, we&amp;#39;ve shifted the default to be the fully qualified name. We&amp;#39;ll see if people want the option for a switch after we ship the first beta releases.</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:12:01 GMT</pubDate><guid isPermaLink="false">Commented Issue: Offer display options in VS2012 runner [9828] 20130505011201A</guid></item><item><title>Edited Issue: Offer display options in VS2012 runner [9828]</title><link>http://xunit.codeplex.com/workitem/9828</link><description>The VS2012 runner today only shows tests by test method name. Options should allow the user to include class and namespace names, if desired.&lt;br /&gt;</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:12:01 GMT</pubDate><guid isPermaLink="false">Edited Issue: Offer display options in VS2012 runner [9828] 20130505011201A</guid></item><item><title>Edited Issue: Assert.ThrowsArgument(Null) needs Func&lt;object&gt; and Task variants [9837]</title><link>http://xunit.codeplex.com/workitem/9837</link><description>.&lt;br /&gt;</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:10:37 GMT</pubDate><guid isPermaLink="false">Edited Issue: Assert.ThrowsArgument(Null) needs Func&lt;object&gt; and Task variants [9837] 20130505011037A</guid></item><item><title>Closed Issue: Make it easier to create theory data [9839]</title><link>http://xunit.codeplex.com/workitem/9839</link><description>See&amp;#58;&lt;br /&gt;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;aspnetwebstack.codeplex.com&amp;#47;SourceControl&amp;#47;changeset&amp;#47;view&amp;#47;6b5687093715&amp;#35;test&amp;#37;2fMicrosoft.TestCommon&amp;#37;2fTheoryDataSet.cs&lt;br /&gt;Comments: Dup of https&amp;#58;&amp;#47;&amp;#47;xunit.codeplex.com&amp;#47;workitem&amp;#47;9852</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:09:45 GMT</pubDate><guid isPermaLink="false">Closed Issue: Make it easier to create theory data [9839] 20130505010945A</guid></item><item><title>Commented Issue: Test runner - add a node for each Theory data item [9789]</title><link>http://xunit.codeplex.com/workitem/9789</link><description>I first felt over this while using the R&amp;#35; runner. So I&amp;#39;ve tried the Gui runner and noticed that he also dose not add an item for each specific data item in a theory test. With this node it would be possible to debug in specific date item.&lt;br /&gt;&lt;br /&gt;Without that feature it is really hard to see which data item fails and its much harder to to debug the failed item.&lt;br /&gt;Comments: This is fixed in v2 runner for VS2012.&amp;#13;&amp;#10;&amp;#13;&amp;#10;There are no plans for a GUI runner for v2.</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:09:17 GMT</pubDate><guid isPermaLink="false">Commented Issue: Test runner - add a node for each Theory data item [9789] 20130505010917A</guid></item><item><title>Edited Issue: Test runner - add a node for each Theory data item [9789]</title><link>http://xunit.codeplex.com/workitem/9789</link><description>I first felt over this while using the R&amp;#35; runner. So I&amp;#39;ve tried the Gui runner and noticed that he also dose not add an item for each specific data item in a theory test. With this node it would be possible to debug in specific date item.&lt;br /&gt;&lt;br /&gt;Without that feature it is really hard to see which data item fails and its much harder to to debug the failed item.&lt;br /&gt;</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:09:17 GMT</pubDate><guid isPermaLink="false">Edited Issue: Test runner - add a node for each Theory data item [9789] 20130505010917A</guid></item><item><title>Edited Issue: Add FlowId support for TeamCity [9833]</title><link>http://xunit.codeplex.com/workitem/9833</link><description>http&amp;#58;&amp;#47;&amp;#47;confluence.jetbrains.net&amp;#47;display&amp;#47;TCD7&amp;#47;Build&amp;#43;Script&amp;#43;Interaction&amp;#43;with&amp;#43;TeamCity&amp;#35;BuildScriptInteractionwithTeamCity-MessageFlowId&lt;br /&gt;</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:07:57 GMT</pubDate><guid isPermaLink="false">Edited Issue: Add FlowId support for TeamCity [9833] 20130505010757A</guid></item><item><title>Closed Issue: Crash when native dll is present in same working directory [9836]</title><link>http://xunit.codeplex.com/workitem/9836</link><description>xunit runner crashes when a native dll is present in the same directory.  This can happen for example on TFS Build where all dll&amp;#39;s are moved into a common binary folder, or in systems where a C&amp;#43;&amp;#43; dll for some reason is present.  XUnit tries to load this and crashes.  &lt;br /&gt;&lt;br /&gt;Comments: Dup of https&amp;#58;&amp;#47;&amp;#47;xunit.codeplex.com&amp;#47;workitem&amp;#47;9843</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:07:10 GMT</pubDate><guid isPermaLink="false">Closed Issue: Crash when native dll is present in same working directory [9836] 20130505010710A</guid></item><item><title>Edited Feature: Add support for stopping on first error [9844]</title><link>http://xunit.codeplex.com/workitem/9844</link><description>Add support to the console and MSBuild runners to stop running tests after the first error is encountered.&lt;br /&gt;</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:05:26 GMT</pubDate><guid isPermaLink="false">Edited Feature: Add support for stopping on first error [9844] 20130505010526A</guid></item><item><title>Closed Issue: (MSTest) AssemblyInitialize equivlent? [9787]</title><link>http://xunit.codeplex.com/workitem/9787</link><description>IUseFixture&amp;#60;T&amp;#62; is the equivalent of SetupFixture in NUnit and ClassInitialize in MSTest. Well, that&amp;#39;s not entirely true because in NUnit, If you declare SetUpFixture outside of the namespace in which the tests run, it then will act as setup for the assembly. I would know becuase I had an assembly where I could toggle between MSTest and NUnit freely by giving using aliases such as&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#35;if MSTEST&lt;br /&gt;using AssemblyInitialize &amp;#61; NUnit.Framework.SetUpFixtureAttribute&amp;#59;&lt;br /&gt;&lt;br /&gt;So how can I get IUseFixture&amp;#60;T&amp;#62; to allow me to share context between all tests in an assembly, not just a class&amp;#63; Is there some other feature of XUnit that will let me do this that I missed&amp;#63;&lt;br /&gt;Comments: We will support this at the test collection level in v2. We are not planning to do any assembly-wide setup and teardown.</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:05:03 GMT</pubDate><guid isPermaLink="false">Closed Issue: (MSTest) AssemblyInitialize equivlent? [9787] 20130505010503A</guid></item><item><title>Commented Issue: Test display names should be encoded before printing [9818]</title><link>http://xunit.codeplex.com/workitem/9818</link><description>This probably affects both the console and MSBuild runners &amp;#40;when not in TeamCity mode&amp;#41;.&lt;br /&gt;&lt;br /&gt;When theories have newlines in the contained strings, those strings should be encoded. An example of a test today that has this issue is StringTests.FailureCases, with output like this from MSBuild&amp;#58;&lt;br /&gt;&lt;br /&gt;        EqualTests&amp;#43;StringTests.SuccessCases&amp;#40;value1&amp;#58; &amp;#34;foo&lt;br /&gt;     bar&amp;#34;, value2&amp;#58; &amp;#34;foo&lt;br /&gt;     bar&amp;#34;, ignoreCase&amp;#58; False, ignoreLineEndingDifferences&amp;#58; True, ignoreWhiteSpaceDifferences&amp;#58; False&amp;#41;&lt;br /&gt;Comments: Fixed in v2 MSBuild runner.&amp;#10;&amp;#10;Fixed in v2 VS2012 runner.</description><author>BradWilson</author><pubDate>Sun, 05 May 2013 01:03:00 GMT</pubDate><guid isPermaLink="false">Commented Issue: Test display names should be encoded before printing [9818] 20130505010300A</guid></item></channel></rss>