Skip to content
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

Add file helpers to the InvokeMainTestCase framework #243

Open
DavidWhitlock opened this issue Jul 26, 2018 · 3 comments
Open

Add file helpers to the InvokeMainTestCase framework #243

DavidWhitlock opened this issue Jul 26, 2018 · 3 comments

Comments

@DavidWhitlock
Copy link
Collaborator

I've noticed that in the text file and pretty print projects students aren't writing integration tests. I should add some file helpers to the InvokeMainTestCase framework.

@DavidWhitlock
Copy link
Collaborator Author

One file helper that would be helpful is a method that copies a resource file to a file in a directory (such as the JUnit @TempDir directory).

@DavidWhitlock
Copy link
Collaborator Author

Oh. And it's possible that failsafe isn't configured to mark src/it/resources as a resource directory.

@DavidWhitlock
Copy link
Collaborator Author

Another helpful method would read the contents of a text file into a String.

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

No branches or pull requests

1 participant