﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Jeff Brown commented on xUnit.NET</title><description>xUnit.Net is pretty cool and it's coming along nicely.
  
  
So is MbUnit v3.  For example...
  
  
[Test]
  
[Row(typeof(int), 42, "42")]
  
[Row(typeof(string), "Abc", "Abc")]
  
[Row(typeof(DateTime), "2007/02/03", "02/03/2007 12:00:00am")]  // note: the expected result here is locale-dependent but the value datatype conversion is not
  
[Row(typeof(XmlDocument), "&lt;root&gt;42&lt;/root&gt;", "&lt;root&gt;42&lt;/root&gt;")] // or whatever an XmlDocument prints out when ToString'd
  
public void ToString&lt;T&gt;(T value, string expectedResult)
  
{
  
    Assert.AreEqual(expectedResult, value.ToString());
  
}
  
  
Notice:
  
- Binding works with generic parameters.
  
- There are automatic datatype conversions (this is extensible).
  
</description><link>http://ayende.com/3193/xunit-net#comment5</link><guid>http://ayende.com/3193/xunit-net#comment5</guid><pubDate>Wed, 19 Mar 2008 09:41:13 GMT</pubDate></item><item><title>Simone Busoli commented on xUnit.NET</title><description>I am using NBehave right now, and while it can be used as an extension to existing testing frameworks, I find the sugar it adds to be very useful.
</description><link>http://ayende.com/3193/xunit-net#comment4</link><guid>http://ayende.com/3193/xunit-net#comment4</guid><pubDate>Tue, 18 Mar 2008 23:57:50 GMT</pubDate></item><item><title>Sunil commented on xUnit.NET</title><description>@Alex
  
It makes it easier to use reflector since, you click a function and it takes you to the right spot, even if it is in the .net framework. I have used reflector many times even when I had the actual source. It is just easier.
</description><link>http://ayende.com/3193/xunit-net#comment3</link><guid>http://ayende.com/3193/xunit-net#comment3</guid><pubDate>Tue, 18 Mar 2008 23:25:22 GMT</pubDate></item><item><title>Alex Simkin commented on xUnit.NET</title><description>And why exactly do you need to travel through xUnit with a Reflector if it's open source? Or I don't understand what open source mean.
</description><link>http://ayende.com/3193/xunit-net#comment2</link><guid>http://ayende.com/3193/xunit-net#comment2</guid><pubDate>Tue, 18 Mar 2008 22:03:04 GMT</pubDate></item><item><title>Ken Egozi commented on xUnit.NET</title><description>most valued feature: xcopy deployment.  no GAC, no more nunit 2.4/2.2 crap.
  
it makes it a gr8 choice for opensource projects - switched AspView to xUnit because of that.
</description><link>http://ayende.com/3193/xunit-net#comment1</link><guid>http://ayende.com/3193/xunit-net#comment1</guid><pubDate>Tue, 18 Mar 2008 21:57:07 GMT</pubDate></item></channel></rss>