<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>FsTest</title><link>http://fstest.codeplex.com/project/feeds/rss</link><description>This project is designed to Language Oriented Programming constructs around unit testing and behavior testing in F&amp;#35;.</description><item><title>Source code checked in, #69631</title><link>http://fstest.codeplex.com/SourceControl/changeset/changes/69631</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:13:48 GMT</pubDate><guid isPermaLink="false">Source code checked in, #69631 20121001091348P</guid></item><item><title>Source code checked in, #69630</title><link>http://fstest.codeplex.com/SourceControl/changeset/changes/69630</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:07:03 GMT</pubDate><guid isPermaLink="false">Source code checked in, #69630 20121001090703P</guid></item><item><title>Source code checked in, #48968</title><link>http://fstest.codeplex.com/SourceControl/changeset/changes/48968</link><description>Checked in by server upgrade</description><author>_TFSSERVICE</author><pubDate>Thu, 22 Jul 2010 18:55:41 GMT</pubDate><guid isPermaLink="false">Source code checked in, #48968 20100722065541P</guid></item><item><title>New Post: Additional Test methods</title><link>http://fstest.codeplex.com/Thread/View.aspx?ThreadId=80504</link><description>&lt;div style="line-height: normal;"&gt;&lt;div&gt;
&lt;p&gt;I'd like to suggest adding a couple of methods:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;
let fail_with (msg:string) (error:Lazy&amp;lt;_&amp;gt;) =
    let mutable threw = false
    try
        try 
            error.Force() |&amp;gt; ignore
        with
        | Failure message -&amp;gt; 
            threw &amp;lt;- true
    //            Assert.Contains(msg,message)
            if not &amp;lt;| message.Contains(msg) then
                raise &amp;lt;| Xunit.Sdk.AssertActualExpectedException(msg,message,&amp;quot;Failure should contain:&amp;quot;)
        | e -&amp;gt; 
            threw &amp;lt;- true
            raise &amp;lt;| Xunit.Sdk.ThrowsException(typeof&amp;lt;System.Exception&amp;gt;,e)
    finally 
        if not threw then
            raise &amp;lt;| Xunit.Sdk.ThrowsException(typeof&amp;lt;System.Exception&amp;gt;)
        
let fail_withi (msg:string) (error:Lazy&amp;lt;_&amp;gt;) =
    let mutable threw = false
    try
        try 
            error.Force() |&amp;gt; ignore
        with
        | Failure message -&amp;gt; 
            threw &amp;lt;- true
//            Assert.Contains(msg,message)
            if message.IndexOf(msg,System.StringComparison.OrdinalIgnoreCase) &amp;gt;= 0 then
                raise &amp;lt;| Xunit.Sdk.AssertActualExpectedException(msg,message,&amp;quot;Failure should contain:&amp;quot;)
        | e -&amp;gt; 
            threw &amp;lt;- true
            raise &amp;lt;| Xunit.Sdk.ThrowsException(typeof&amp;lt;System.Exception&amp;gt;,e)
    finally 
        if not threw then
            raise &amp;lt;| Xunit.Sdk.ThrowsException(typeof&amp;lt;System.Exception&amp;gt;)

let match' regexp result =
    Assert.True(System.Text.RegularExpressions.Regex.IsMatch(result,regexp),sprintf &amp;quot;Result: %s should match %s&amp;quot; result regexp)

let not_match regexp result = 
    Assert.False(System.Text.RegularExpressions.Regex.IsMatch(result,regexp),sprintf &amp;quot;Result: %s should not match %s&amp;quot; result regexp)

&lt;/code&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description><author>cipher</author><pubDate>Tue, 12 Jan 2010 05:03:19 GMT</pubDate><guid isPermaLink="false">New Post: Additional Test methods 20100112050319A</guid></item><item><title>Created Issue: Can't run with ReSharper Test Runner</title><link>http://fstest.codeplex.com/WorkItem/View.aspx?WorkItemId=4595</link><description>Harry Pierson noted this as well &amp;#40;http&amp;#58;&amp;#47;&amp;#47;devhawk.net&amp;#47;2007&amp;#47;12&amp;#47;12&amp;#47;Practical&amp;#43;F&amp;#43;Parsing&amp;#43;Unit&amp;#43;Testing.aspx&amp;#41;. What about wrapping this in a workflow, e.g. test &amp;#123; ... &amp;#125; or spec &amp;#123; ... &amp;#125; or even tests &amp;#123; ... &amp;#125; or specs &amp;#123; ... &amp;#125;&amp;#63; By the way, are you still working on this&amp;#63;&lt;br /&gt;</description><author>riles01</author><pubDate>Tue, 14 Jul 2009 18:14:31 GMT</pubDate><guid isPermaLink="false">Created Issue: Can't run with ReSharper Test Runner 20090714061431P</guid></item><item><title>Released: FsTest 0.2 (Sep 04, 2008)</title><link>http://www.codeplex.com/FsTest/Release/ProjectReleases.aspx?ReleaseId=15307</link><description>&lt;div&gt;
A brief update which includes better documentation and specifying an interface file.  This also includes extensions to boolean, IEnumerable&amp;lt;'a&amp;gt; and string&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Fri, 05 Sep 2008 00:19:02 GMT</pubDate><guid isPermaLink="false">Released: FsTest 0.2 (Sep 04, 2008) 20080905121902A</guid></item><item><title>Updated Release: FsTest 0.2 (Sep 04, 2008)</title><link>http://www.codeplex.com/FsTest/Release/ProjectReleases.aspx?ReleaseId=15307</link><description>&lt;div&gt;
A brief update which includes better documentation and specifying an interface file.  This also includes extensions to boolean, IEnumerable&amp;lt;'a&amp;gt; and string&lt;br&gt;
&lt;/div&gt;</description><author></author><pubDate>Fri, 05 Sep 2008 00:19:02 GMT</pubDate><guid isPermaLink="false">Updated Release: FsTest 0.2 (Sep 04, 2008) 20080905121902A</guid></item><item><title>Source code checked in, #15509</title><link>http://www.codeplex.com/FsTest/SourceControl/ListDownloadableCommits.aspx</link><description>Checking in changes with xUnit 1.02 and new F&amp;#35; project files</description><author>MatthewPodwysocki</author><pubDate>Thu, 04 Sep 2008 23:47:35 GMT</pubDate><guid isPermaLink="false">Source code checked in, #15509 20080904114735P</guid></item><item><title>Source code checked in, #14463</title><link>http://www.codeplex.com/FsTest/SourceControl/ListDownloadableCommits.aspx</link><description>Adding extensions and interface code</description><author>MatthewPodwysocki</author><pubDate>Mon, 14 Jul 2008 22:03:31 GMT</pubDate><guid isPermaLink="false">Source code checked in, #14463 20080714100331P</guid></item><item><title>RELEASED: FsTest 0.1 (Jun 20, 2008)</title><link>http://www.codeplex.com/FsTest/Release/ProjectReleases.aspx?ReleaseId=14589</link><description>&lt;div&gt;
This is the initial version of FsTest.  This targets the &lt;a href="http://www.codeplex.com/xunit/Release/ProjectReleases.aspx?ReleaseId=14501"&gt;xUnit.net 1.0.2 RC1&lt;span&gt;&lt;/span&gt;&lt;/a&gt; release.&lt;br&gt; &lt;br&gt;This release includes:&lt;br&gt;&lt;ul&gt;
&lt;li&gt;Equality/Inequality Assertions&lt;/li&gt;&lt;li&gt;True/False Assertions&lt;/li&gt;&lt;li&gt;In Range Assertions&lt;/li&gt;&lt;li&gt;Collection Assertions&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author></author><pubDate>Fri, 20 Jun 2008 18:23:21 GMT</pubDate><guid isPermaLink="false">RELEASED: FsTest 0.1 (Jun 20, 2008) 20080620062321P</guid></item><item><title>CREATED RELEASE: FsTest 0.1 (Jun 20, 2008)</title><link>http://www.codeplex.com/FsTest/Release/ProjectReleases.aspx?ReleaseId=14589</link><description>&lt;div&gt;
This is the initial version of FsTest.  This targets the &lt;a href="http://www.codeplex.com/xunit/Release/ProjectReleases.aspx?ReleaseId=14501"&gt;xUnit.net 1.0.2 RC1&lt;span&gt;&lt;/span&gt;&lt;/a&gt; release.&lt;br&gt; &lt;br&gt;This release includes:&lt;br&gt;&lt;ul&gt;
&lt;li&gt;Equality/Inequality Assertions&lt;/li&gt;&lt;li&gt;True/False Assertions&lt;/li&gt;&lt;li&gt;In Range Assertions&lt;/li&gt;&lt;li&gt;Collection Assertions&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author></author><pubDate>Fri, 20 Jun 2008 18:23:21 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: FsTest 0.1 (Jun 20, 2008) 20080620062321P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/FsTest/Wiki/View.aspx?title=Home&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This project is designed to Language Oriented Programming constructs around unit testing and behavior testing in F&amp;#35;.
&lt;br /&gt; &lt;br /&gt;The goal of this project is to create a Domain Specific Language for testing F# code in a way that makes sense for functional programming.  F# has unique language constructs which can make very flexible testing languages.  This project intends to explore those options to create a more intention driven experience.&lt;br /&gt; &lt;br /&gt;Based off ideas from &lt;a href="http://code.google.com/p/fsunit/" class="externalLink"&gt;FsUnit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; this testing DSL is currently targeting the &lt;a href="http://codeplex.com/xunit" class="externalLink"&gt;xUnit.net&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; framework with the intention of targeting other frameworks.  &lt;br /&gt; &lt;br /&gt;Some of the syntax possibilities are the following:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Testing equality:&lt;/i&gt;&lt;br /&gt;&amp;quot;foo&amp;quot; |&amp;gt; should equal &amp;quot;foo&amp;quot;&lt;br /&gt;&amp;quot;foo&amp;quot; |&amp;gt; should not_equal &amp;quot;bar&amp;quot;&lt;br /&gt;null |&amp;gt; should be Null&lt;br /&gt;&amp;quot;foo&amp;quot; |&amp;gt; should be NonNull&lt;br /&gt;&amp;quot;foobar&amp;quot; |&amp;gt; should contain &amp;quot;foo&amp;quot;&lt;br /&gt;&amp;quot;foobar&amp;quot; |&amp;gt; should not_contain &amp;quot;hello&amp;quot;&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Testing True/False:&lt;/i&gt;&lt;br /&gt;true |&amp;gt; should be True&lt;br /&gt;false |&amp;gt; should be False&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Testing collections:&lt;/i&gt;&lt;br /&gt;[1..10] |&amp;gt; should be NonEmpty&lt;br /&gt;[] |&amp;gt; should be Empty&lt;br /&gt;[1..10] |&amp;gt; should have 3&lt;br /&gt;[1..10] |&amp;gt; should not_have 25&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Exception Management:&lt;/i&gt;&lt;br /&gt;throwsExceptionFunc |&amp;gt; should (throw_exception&amp;lt;ArgumentException&amp;gt;)&lt;br /&gt;doesntThrowException |&amp;gt; should not_throw_exception&lt;br /&gt; &lt;br /&gt;Future directions include the creation of a Behavior Driven Development experience in the vain of Specter, Specs, MSpec among others using F# language constructs.&lt;br /&gt;
&lt;/div&gt;</description><author>MatthewPodwysocki</author><pubDate>Thu, 19 Jun 2008 21:05:37 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080619090537P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/FsTest/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This project is designed to Language Oriented Programming constructs around unit testing and behavior testing in F&amp;#35;.
&lt;br /&gt; &lt;br /&gt;The goal of this project is to create a Domain Specific Language for testing F# code in a way that makes sense for functional programming.  F# has unique language constructs which can make very flexible testing languages.  This project intends to explore those options to create a more intention driven experience.&lt;br /&gt; &lt;br /&gt;Based off ideas from &lt;a href="http://code.google.com/p/fsunit/" class="externalLink"&gt;FsUnit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; this testing DSL is currently targeting the &lt;a href="http://codeplex.com/xunit" class="externalLink"&gt;xUnit.net&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; framework with the intention of targeting other frameworks.  &lt;br /&gt; &lt;br /&gt;Some of the syntax possibilities are the following:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Testing equality:&lt;/i&gt;&lt;br /&gt;&amp;quot;foo&amp;quot; |&amp;gt; should equal &amp;quot;foo&amp;quot;&lt;br /&gt;&amp;quot;foo&amp;quot; |&amp;gt; should not_equal &amp;quot;bar&amp;quot;&lt;br /&gt;null |&amp;gt; should be Null&lt;br /&gt;&amp;quot;foo&amp;quot; |&amp;gt; should be NonNull&lt;br /&gt;&amp;quot;foobar&amp;quot; |&amp;gt; should contain &amp;quot;foo&amp;quot;&lt;br /&gt;&amp;quot;foobar&amp;quot; |&amp;gt; should contain &amp;quot;hello&amp;quot;&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Testing True/False:&lt;/i&gt;&lt;br /&gt;true |&amp;gt; should be True&lt;br /&gt;false |&amp;gt; should be False&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Testing collections:&lt;/i&gt;&lt;br /&gt;[1..10] |&amp;gt; should be NonEmpty&lt;br /&gt;[] |&amp;gt; should be Empty&lt;br /&gt;[1..10] |&amp;gt; should have 3&lt;br /&gt;[1..10] |&amp;gt; should not_have 25&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Exception Management:&lt;/i&gt;&lt;br /&gt;throwsExceptionFunc |&amp;gt; should (throw_exception&amp;lt;ArgumentException&amp;gt;)&lt;br /&gt;doesntThrowException |&amp;gt; should not_throw_exception&lt;br /&gt; &lt;br /&gt;Future directions include the creation of a Behavior Driven Development experience in the vain of Specter, Specs, MSpec among others using F# language constructs.&lt;br /&gt;
&lt;/div&gt;</description><author>MatthewPodwysocki</author><pubDate>Thu, 19 Jun 2008 20:52:55 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080619085255P</guid></item><item><title>Updated Wiki: Home</title><link>http://www.codeplex.com/FsTest/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This project is designed to Language Oriented Programming constructs around unit testing and behavior testing in F&amp;#35;.
&lt;br /&gt; &lt;br /&gt;The goal of this project is to create a Domain Specific Language for testing F# code in a way that makes sense for functional programming.  F# has unique language constructs which can make very flexible testing languages.  This project intends to explore those options to create a more intention driven experience.&lt;br /&gt; &lt;br /&gt;Based off ideas from &lt;a href="http://code.google.com/p/fsunit/" class="externalLink"&gt;FsUnit&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; this testing DSL is currently targeting the &lt;a href="http://codeplex.com/xunit" class="externalLink"&gt;xUnit.net&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; framework with the intention of targeting other frameworks.  &lt;br /&gt; &lt;br /&gt;The syntax is as follows:&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Testing collections:&lt;/i&gt;&lt;br /&gt;&lt;a href="http://www.codeplex.com/FsTest/Wiki/View.aspx?title=1..10&amp;amp;referringTitle=Home"&gt;1..10&lt;/a&gt; |&amp;gt; should be NonEmpty&lt;br /&gt;[] |&amp;gt; should be Empty&lt;br /&gt;&lt;a href="http://www.codeplex.com/FsTest/Wiki/View.aspx?title=1..10&amp;amp;referringTitle=Home"&gt;1..10&lt;/a&gt; |&amp;gt; should have 3&lt;br /&gt;&lt;a href="http://www.codeplex.com/FsTest/Wiki/View.aspx?title=1..10&amp;amp;referringTitle=Home"&gt;1..10&lt;/a&gt; |&amp;gt; should not_have 25&lt;br /&gt; &lt;br /&gt;Future directions include the creation of a Behavior Driven Development experience in the vain of Specter, Specs, MSpec among others using F# language constructs.&lt;br /&gt;
&lt;/div&gt;</description><author>MatthewPodwysocki</author><pubDate>Thu, 19 Jun 2008 20:45:42 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20080619084542P</guid></item><item><title>Commented Issue: Initial Checkin</title><link>http://www.codeplex.com/FsTest/WorkItem/View.aspx?WorkItemId=2466</link><description>This is the initial checkin for the FsTest project&lt;br /&gt;Comments: Associated with changeset 13511.</description><author>MatthewPodwysocki</author><pubDate>Thu, 19 Jun 2008 19:29:43 GMT</pubDate><guid isPermaLink="false">Commented Issue: Initial Checkin 20080619072943P</guid></item><item><title>Source code checked in, #13511</title><link>http://www.codeplex.com/FsTest/SourceControl/ListDownloadableCommits.aspx</link><description>Adding new xUnit.net 1.0.2 RC1 dlls</description><author>MatthewPodwysocki</author><pubDate>Thu, 19 Jun 2008 19:29:42 GMT</pubDate><guid isPermaLink="false">Source code checked in, #13511 20080619072942P</guid></item><item><title>Commented Issue: Initial Checkin</title><link>http://www.codeplex.com/FsTest/WorkItem/View.aspx?WorkItemId=2466</link><description>This is the initial checkin for the FsTest project&lt;br /&gt;Comments: Associated with changeset 13381.</description><author>MatthewPodwysocki</author><pubDate>Wed, 18 Jun 2008 16:33:00 GMT</pubDate><guid isPermaLink="false">Commented Issue: Initial Checkin 20080618043300P</guid></item><item><title>Source code checked in, #13381</title><link>http://www.codeplex.com/FsTest/SourceControl/ListDownloadableCommits.aspx</link><description>Initial checkin of code</description><author>MatthewPodwysocki</author><pubDate>Wed, 18 Jun 2008 16:33:00 GMT</pubDate><guid isPermaLink="false">Source code checked in, #13381 20080618043300P</guid></item><item><title>Created Issue: Initial Checkin</title><link>http://www.codeplex.com/FsTest/WorkItem/View.aspx?WorkItemId=2466</link><description>This is the initial checkin for the FsTest project&lt;br /&gt;</description><author>MatthewPodwysocki</author><pubDate>Wed, 18 Jun 2008 16:32:22 GMT</pubDate><guid isPermaLink="false">Created Issue: Initial Checkin 20080618043222P</guid></item></channel></rss>