Skip to content

Add compiler options parser tests (#13878)#19554

Open
techiedesu wants to merge 1 commit intodotnet:mainfrom
techiedesu:fsc-options-parser-tests
Open

Add compiler options parser tests (#13878)#19554
techiedesu wants to merge 1 commit intodotnet:mainfrom
techiedesu:fsc-options-parser-tests

Conversation

@techiedesu
Copy link
Copy Markdown

@techiedesu techiedesu commented Apr 6, 2026

Summary

  • Add ParserErrors.fs — horizontal coverage of compiler options parser error handling (error codes 224, 241, 1050, 1048, 1065, 243)
  • Add UncoveredOptions.fs — smoke tests for switch, unit, and string options without dedicated test coverage

Addresses #13878

Tests only — NO_RELEASE_NOTES label is appropriate.

🤖 Generated with Claude Code

ParserErrors.fs — horizontal error handling coverage:
  missing arguments (error 224), invalid integer arguments (error 241),
  out-of-range warn level (error 1050), unrecognized target (error 1048),
  unsupported checksum algorithm (error 1065), unrecognized options (error 243).

UncoveredOptions.fs — smoke tests for options without dedicated coverage:
  switch options (+/-), unit options, valid string values,
  compilation modes, diagnostic options.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

✅ No release notes required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant