Community blog feed
Microsoft F# and TestDriven.Net 2.16
- Blog
- Jamie Cansdale
- Posted
- 10 Oct 2008 at 11:42
Summary
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
Post extract
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.
To view the code using .NET Reflector, simply right click inside a method, property, module or project and 'Go To Reflector'.

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.

Related blog entries
-
Hello, F#!
by Jamie Cansdale
-
TestDriven.NET 2.18 + NUnit 2.5 Beta
by Jamie Cansdale
-
TestDriven.Net 2.22 RTM - What’s New?
by Jamie Cansdale
-
TestDriven.Net Options Pane
by Jamie Cansdale
-
Improved support for MbUnit, xUnit and Gallio
by Jamie Cansdale