views:

184

answers:

1

Is there a mock implementation for a ftp server that I can use in my UnitTests. I don't want my tests to depend on a real FTP server.

For JAVA a ftpmock can be found here.

A: 

Have you looked at the Indy Sockets project? They have mocks/stubs for testing their client/servers: http://www.indyproject.org/SocketsCLR/index.EN.aspx - There is another version being worked on, but it hasn't been committed to since March of 2008.

Ian Davis