Skip to content

[5.7] Fix SwiftDocC integration test #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

ethan-kusters
Copy link
Contributor

  • Rationale: Updates the Swift-DocC integration test to accurately check for regressions in DocC's ability convert documentation for a Swift package.
  • Risk: Low.
  • Risk Detail: Updates an existing test to more closely match the way we expect DocC to be used.
  • Reward: Medium
  • Reward Details: Lowers risk of regressing Swift-DocC throughout the 5.7 release.
  • Original PR: Fix SwiftDocC integration test #101
  • Issue: rdar://91638258
  • Code Reviewed By: N/A
  • Testing Details: Tests continue to pass.

The integration test as currently written fails to actually compile
any documentation because the Symbol Graph files for the test Swift Package
are never built.

This updates the test to build Symbol Graph files for the test package,
convert it, and assert that produced DocC documentation contains the expected
`data` subdirectory.

Resolves rdar://91638258.
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.

2 participants