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

# re: Microsoft F# and TestDriven.Net 2.16

Microsoft f and testdriven net 2 16.. Dandy :)

Thursday, May 19, 2011 2:03 AM by weblogs.asp.net

# re: Microsoft F# and TestDriven.Net 2.16

You have more useful info than the British had coolnies pre-WWII.

Tuesday, September 27, 2011 9:38 AM by Chubby

# re: Microsoft F# and TestDriven.Net 2.16

This has made my day. I wish all potsnigs were this good.

Wednesday, September 28, 2011 8:51 PM by Rennifer

# re: Microsoft F# and TestDriven.Net 2.16

pIUXw1 I appreciate you sharing this blog.Much thanks again.

Thursday, May 03, 2012 3:44 AM by buy oem software

# re: Microsoft F# and TestDriven.Net 2.16

nwVOfv Very informative blog.Really looking forward to read more. Great.

Sunday, November 04, 2012 10:18 AM by bookmarking submission

# re: Microsoft F# and TestDriven.Net 2.16

Aw, this was an exceptionally nice post. Spending some time and actual effort to make a very good article… but what can I say… I put things off a whole lot and don’t manage to get nearly anything done.

Monday, April 01, 2013 1:49 PM by hlfwanltv@yahoo.com

Leave a Comment

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