Danny,

Imo, this problem goes deeper than PEX alone: try making a test project (using mstest) in F#. It doesn't work: Visual Studio does not recognize the tests. I believe this is because the visual studio test integration does some parsing before building of test projects to see what tests the project contains (you can see this by taking any C# test project and adding some tests. They immediately show up in the Test View).

So, whether the F# team or the test team need to do something is unclear, but it certainly seems the the problems you're having with Pex are related.

Incidentally, a project you might take a look at is Gallio ( www.gallio.org ). They are writing a generic test runner, that is compatible with mstest, nunit, xunit and what not, and also with Pex. They are wrinting their own VS plugin. Support for upcoming languages is explicitly on Gallio's roadmap for the next release.

Incidentally, apparently testdirven.net does support F#, so you might try that route to get Pex going.

Kurt

By on 11/26/2008 4:39 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper