chrismair | 17f899c | 2008-03-02 01:58:08 +0000 | [diff] [blame] | 1 | MockFtpServer version ${project.version}
|
| 2 | -------------------------------------------------------------------------------
|
| 3 | ${project.url}
|
| 4 |
|
| 5 | The MockFtpServer project provides a mock/dummy FTP server implementation that can be very
|
| 6 | useful for testing of FTP client code. It can be configured to return custom data or reply
|
| 7 | codes, to simulate either success or failure scenarios. Expected command invocations can
|
| 8 | also be verified.
|
| 9 |
|
| 10 | MockFtpServer is written in Java, and is ideally suited to testing Java code. But because
|
| 11 | communication with the FTP server is across sockets and TCP/IP, it can be used to test FTP client
|
| 12 | code written in any language.
|
| 13 |
|
| 14 | The MockFtpServer project may one day provide multiple mock/dummy FTP server implementations,
|
| 15 | at different levels of abstraction. Currently, however, StubFtpServer is the only one provided,
|
| 16 | though others are being considered. StubFtpServer is a "stub" implementation of an FTP server.
|
| 17 | See the "StubFtpServer Getting Started Guide" for more information.
|
| 18 |
|
| 19 | See the FTP Protocol Spec (http://www.ietf.org/rfc/rfc0959.txt) for information about
|
| 20 | FTP, commands, reply codes, etc..
|
| 21 |
|
| 22 | DEPENDENCIES
|
| 23 |
|
| 24 | MockFtpServer requires
|
| 25 | - Java (JDK) version 1.3 or later
|
| 26 | - The Log4J jar, version 1.2.13 or later, accessible on the CLASSPATH
|
| 27 | (http://logging.apache.org/log4j/index.html).
|