Hide this comment

This post might help you. You have to configure the startup section in xUnits UI runners app.config. This worked fine for me with the VS2010 RC and RTM.

HTH

By on 4/26/2010 1:09 PM ()Reply
Hide this comment

That does help - now I can use the GUI to quickly select tests to run.

However, there's no integration between the test UI and the code in the IDE - I would really like to jump to the test definition by clicking it, and jump to running the test from its definition. So my questions are less important, but they still stand. :)

By on 4/26/2010 1:20 PM ()Reply
Hide this comment

Yes, I know. Would be cool to have something like "FSharper" or "Resharper for F#", but I think it's just a matter of time before we see something like that.

Currently gallio/xUnit should be able to do the job. I'm curious, think I'm going to try this out myself . . .

By on 4/26/2010 11:42 PM ()Reply
Hide this comment

You might be interested in FSharper, which is an effort to provide proper F# support for ReSharper.

By on 1/1/2011 1:10 PM ()Reply
Hide this comment

Well, I think Gallio used to work a while back, but as of current 3.2 betas (I'm running 413), its runner does not seem to "know" about F# tests. It works fine for C# assemblies, but finds no tests in F#.

It does seem like the Gallio folks have figured out how to make their MbUnit tests run "inside" the MsTest UI, which is promising... but again, no way to do this from F# that I know of.

By on 4/28/2010 10:02 AM ()Reply
Hide this comment

Hi, I found Gallio can find F# tests provided you change the name of the generated xml doc file. If project PPP generates PPP.xml as doc file, nothing works. Just change to PPPDoc.xml.

The MsTest UI in VS still only "sees" C# tests. However, since the Gallio UI nicely interacts with the VS code editor and debugger, running tests from Gallio is fine.

By on 9/13/2010 5:40 AM ()Reply
Hide this comment

I found a nice partial hack for this. To run (all) tests and jump from test failures to code locations, you can run the xunit console runner as an external tool.

[link:bembengarifin-tech.blogspot.com]

Once it's set up this way, you can double click any stack trace lines and they will open up to the right place.

Surprisingly not bad...

By on 4/28/2010 11:02 AM ()Reply
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

Logging in...