alkaphreak / marstech-sftp

Test implem of Jsch SFTP API with Kotlin and Spring boot Native, Kotest and Testcontainers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

marstech-sftp

Efficient SFTP Testing with JSch, Kotlin, Testcontainers, and Spring Boot Native

Explore a streamlined approach to testing SFTP operations using JSch, Kotlin, Testcontainers, and the power of Spring Boot Native for optimized performance.

Table of contents

  1. JSCH Howto
  2. JSCH testing and TestContainers Howto
  3. Going Native Howto
  4. Tests containers, going further

Conclusions

In conclusion, we have covered the various steps to use JSch for sending and receiving files with an SSH/SFTP server.

We have set up a test using TestContainers to dynamically spin up a Docker image that served as our server for conducting our send/receive tests.

We used GraalVM and native compilation to improve the performance of our app.

Resources

To further expand your knowledge

JSCH part

Testing part

Native build part

Tests Containers

About

Test implem of Jsch SFTP API with Kotlin and Spring boot Native, Kotest and Testcontainers

License:MIT License


Languages

Language:Kotlin 100.0%