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

Use Mock FTP server for FTPFetcherTest #55

Open
earthquakesan opened this issue Mar 1, 2018 · 1 comment
Open

Use Mock FTP server for FTPFetcherTest #55

earthquakesan opened this issue Mar 1, 2018 · 1 comment

Comments

@earthquakesan
Copy link
Contributor

Problem: current test uses connection to real FTP server (which we do not own), it takes too long to complete.

Use mock FTP server for the test.

@MichaelRoeder
Copy link
Member

See this answer: https://stackoverflow.com/a/14758334
It contains a code snippet how to use a mock FTP server for a JUnit test.

Although the MockFtpServer project itself does not seem to be available, anymore, their libraries are still in the central Maven repo.

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

3 participants