Skip to content

Setup/Installation of a SMB Server for JUnit Testing in SMB Module #3804

@GregBragg

Description

@GregBragg

I wonder if we can look into using a Testcontainers with Samba Docker image for these kinds of JUnit tests: https://hub.docker.com/r/dperson/samba ...

I did look into an embedded SMB Server for our JUnit tests, such as like what we have for the (S)FTP modules, however there is none available. I would like to see a Samba container setup for the build process to use so that we can enable all of the JUnit tests to be run.

For localhost testing against an external SMB share, current practice is to update the JUnit test classes with a different config while the SMB Module code is under development.

Originally posted by @GregBragg in #3802 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions