ionide / ionide/FsAutoComplete

Need Debugging and Testing instructions for contributors

Open
#705 4 comments 0 reactions 1 assignee Claimed by @TheAngryByrd View on GitHub
documentation help wanted
Dominant language
F#
Stars
486
Forks
169
Avg merge
2d 8h
Merged PRs (30d)
5

Description

I was able to run the tests in a terminal, but they don't show up in the VS Test Explorer, so I don't know how to debug them or to run a particular test. Can we make them discoverable by the VS Test Explorer? Maybe adding a .runsettings file would do it?

I installed the Expecto.VisualStudio.TestAdapter nuget package in the FsAutoComplete.Tests.Lsp project, but that did not reveal any tests in the VS Test Explorer.

I was also able to run all the tests by setting the FsAutoComplete.Tests.Lsp project as the startup project in VS Solution Explorer. But again, how do I tell it to run a particular test, not all of them?

Also, how does one debug FsAutoComplete? I ran it in the debugger and got a blank console window, but I don't know what to do with it. Entering F# code in that window did not do anything. I want to know how to hit a breakpoint when FsAutoComplete offers suggestions for an undefined symbol, for instance.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.