8000 PortToDocs: Add methods that either collect files automatically, or allow passing documents manually by carlossanlop · Pull Request #110 · dotnet/api-docs-sync · GitHub
[go: up one dir, main page]

Skip to content

PortToDocs: Add methods that either collect files automatically, or allow passing documents manually #110

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
merged 3 commits into from
Mar 17, 2022

Conversation

carlossanlop
Copy link
Contributor
@carlossanlop carlossanlop commented Mar 15, 2022

Unit testing is too hard in the PortToDocs project because the only method we currently use requires creating real files and modifying them as they would in a real use case scenario.

We can keep the tests we already have but we should also have the ability to create tests that don't depend on the filesystem and which allow passing the document to read and the document to write.

This is the first iteration. In the next iteration (maybe next commit, or maybe next PR) I will add unit tests using this simplified process.

@carlossanlop carlossanlop mentioned this pull request Mar 16, 2022
14 tasks
@carlossanlop carlossanlop merged commit 149a093 into dotnet:main Mar 17, 2022
@carlossanlop carlossanlop deleted the PortToDocsFileCollect branch March 17, 2022 17:51
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
0