Skip to content

Added tests for fsc help and version options#13765

Merged
psfinaki merged 45 commits into
mainfrom
psfinaki/13748
Aug 24, 2022
Merged

Added tests for fsc help and version options#13765
psfinaki merged 45 commits into
mainfrom
psfinaki/13748

Conversation

@psfinaki

Copy link
Copy Markdown
Contributor

closes #13750

First I wanted to do #13748 but then I realized it's very hard to test whatever is going on in the current state of the code. At the same time this is quite an important code part.

So this pulls out some dependencies in order to be able to test the output for fsc --help and fsc --version.
Functionality is not changed, just refactoring and tests.

Comment thread src/Compiler/Driver/CompilerOptions.fs Outdated
Comment thread src/Compiler/Driver/CompilerOptions.fsi Outdated
Comment thread src/Compiler/Interactive/fsi.fs Outdated
Comment thread tests/FSharp.Compiler.Service.Tests/ConsoleOnlyOptionsTests.fs Outdated

@dsyme dsyme left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments. Good to be beginning to unit test at this level.

Comment thread src/Compiler/Driver/CompilerOptions.fs Outdated
Comment thread src/Compiler/Driver/CompilerOptions.fsi Outdated
Comment thread src/Compiler/Driver/CompilerOptions.fs Outdated
Comment thread src/Compiler/Driver/CompilerOptions.fs Outdated
@psfinaki psfinaki merged commit 8385830 into main Aug 24, 2022
@psfinaki psfinaki deleted the psfinaki/13748 branch August 24, 2022 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for adequate help output in FSC

4 participants