Search code examples
spring-bootspring-integrationspring-integration-sftpspringjunit4classrunnerspring-integration-aws

junit test case for spring-integration-file


Am newbie to Spring. I have a spring project created using spring-integration-file (spring boot- FTP,SFTP,NFS) which will transform the file from source path to destination path.

Have to write junit test cases to test the project. It will be helpful if someone share some documents/link to write junit testcases with @RunWith(SpringRunner.class) for spring-integration-file project

Thanks in advance


Solution

  • You can consult Spring Integration Samples project on the matter.

    Also there are a lot of JUnit tests in the spring-integration-file module of the core project per se.