Bug 59851 - No unit test fixture marker for F# modules
Summary: No unit test fixture marker for F# modules
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: F# Add-in (show other bugs)
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: 15.7
Assignee: Jason Imison
Depends on:
Reported: 2017-09-29 14:46 UTC by Jason Imison
Modified: 2018-01-22 10:00 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

No marker next to module (189.87 KB, image/png)
2017-09-29 14:46 UTC, Jason Imison
Bug demo (611.92 KB, image/gif)
2017-10-06 09:02 UTC, Jason Imison

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 59851 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description Jason Imison 2017-09-29 14:46:27 UTC
Created attachment 25035 [details]
No marker next to module

See attachment. Types get a fixture marker, but modules do not.
Comment 1 Matt Ward 2017-10-02 08:36:00 UTC
This seems OK to work for me in VS Mac (d15-5). Might be doing something wrong. The only problem I can see is that methods in the module are not shown in the Unit Tests window and if you run the tests for the project the module does not get marked green or red in the Unit Tests window and stays undefined.
Comment 2 Jason Imison 2017-10-06 09:02:17 UTC
Created attachment 25145 [details]
Bug demo

Just took another look at this and you can see the issue in the files TagComments.fs and TypeSignatureHelp.fs in the F# addin test project.

I didn't notice last time, but the marker _does_ appear but then promptly disappears again for some reason (see attachment)
Comment 3 Jason Imison 2017-10-06 09:04:52 UTC
Comment 4 Mike Krüger 2017-10-10 11:08:32 UTC
Can't reproduce with master:


Are you able to with the latest master ?
Comment 5 Jason Imison 2017-10-11 11:45:29 UTC
@Mike - I can still reproduce. I just realised that this issue only occurs when you using IExtendingTextLineMarkers. (Turn on "Show function type signatures" in F# settings)