Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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