Microsoft F# and TestDriven.Net 2.16

Now that F# is being officially productized, I thought it was time to make it a first class citizen inside TestDriven.Net.

When learning a new language I like to experiment by writing ad-hoc tests and viewing my code inside .NET Reflector. My initial focus has been getting 'Go To Reflector' and the targeting of parameterless methods and properties working.

You can get the latest release of F#, including the compiler, tools, and Visual Studio 2008 integration from the F# Developer Center. You will also need TestDriven.Net 2.16 or above.

The F# team has put together a collection of F# sample code. The samples come with their own 'F# Micro Samples Explorer' application, but they are also ideal for running as ad-hoc tests. In particular have a look at the 'beginners.fs' and 'intermediate.fs' modules in the 'Samples101' project.

Samples101

To view the code using .NET Reflector, simply right click inside a method, property, module or project and 'Go To Reflector'.

ReflectorFS

At the moment only parameterless methods and properties are supported. This is due to the way F# makes extensive use of type inferencing for parameters. Luckily it is parameterless methods and properties that it makes most sense to target for evaluation or running as unit tests. I'll talk more about unit testing F# code in a future post.

property

Published Friday, October 10, 2008 6:42 AM by Jamie Cansdale

Comments

# Interesting Finds: October 10, 2008

Friday, October 10, 2008 10:08 AM by Jason Haley

# re: Microsoft F# and TestDriven.Net 2.16

Wonderful - I can't wait to start using this with my F# stuff.  I've been using TestDriven.Net with C# and I have really been mising this functionality!!

Keep up the good work!

Friday, October 10, 2008 3:23 PM by Nate Hoellein

# Dew Drop - October 13, 2008 | Alvin Ashcraft's Morning Dew

Pingback from  Dew Drop - October 13, 2008 | Alvin Ashcraft's Morning Dew

# Developer News » Blog Archive » Microsoft F# and TestDriven.Net 2.16Now that F# is being officially

Pingback from  Developer News  » Blog Archive   »  Microsoft F# and TestDriven.Net 2.16Now that F# is being officially

# Developer News » Blog Archive » crystal reports in asp.net using C# I have to design

Pingback from  Developer News  » Blog Archive   »  crystal reports in asp.net using C#    I have to design

# Developer News » Blog Archive » Microsoft F# and TestDriven.Net 2.16Now that F# is being officially

Pingback from  Developer News  » Blog Archive   »  Microsoft F# and TestDriven.Net 2.16Now that F# is being officially

# Developer News » Blog Archive » Microsoft F# and TestDriven.Net 2.16Now that F# is being officially

Pingback from  Developer News  » Blog Archive   »  Microsoft F# and TestDriven.Net 2.16Now that F# is being officially

# Developer News » Blog Archive » Newbie question - Problem understanding W(p)GTR (Repost from Ruby-Forum.com. Sorry,

Pingback from  Developer News  » Blog Archive   »  Newbie question - Problem understanding W(p)GTR    (Repost from Ruby-Forum.com. Sorry,

# Developer News » Blog Archive » Test Driven Development Firestarter Event Date: Saturday, January 19, 2009

Pingback from  Developer News  » Blog Archive   »  Test Driven Development Firestarter Event Date: Saturday, January 19, 2009

# F# + TestDriven.NET + xUnit.net = WIN

As you may notice on my blog lately, I've been focusing on design and functional programming lately

Thursday, December 04, 2008 1:31 AM by Matthew Podwysocki

# F# + TestDriven.NET + xUnit.net = WIN

As you may notice on my blog lately, I've been focusing on design and functional programming lately

Thursday, December 04, 2008 1:48 AM by Community Blogs

# F# + TestDriven.NET + xUnit.net = WIN

As you may notice on my blog lately, I've been focusing on design and functional programming lately.

Thursday, December 04, 2008 1:54 AM by Matthew Podwysocki's Blog

# F# + TestDriven.NET + xUnit.net = WIN - taccato! trend tracker, cool hunting, new business ideas

Pingback from  F# + TestDriven.NET + xUnit.net = WIN - taccato! trend tracker, cool hunting, new business ideas

# F# + TestDriven.NET + xUnit.net = WIN - taccato! trend tracker, cool hunting, new business ideas

Pingback from  F# + TestDriven.NET + xUnit.net = WIN - taccato! trend tracker, cool hunting, new business ideas

# F# + TestDriven.NET + xUnit.net = WIN - taccato! trend tracker, cool hunting, new business ideas

Pingback from  F# + TestDriven.NET + xUnit.net = WIN - taccato! trend tracker, cool hunting, new business ideas

Leave a Comment

(required) 
(required) 
(optional)
(required)