Skip to content

Consider using testcontainers and the gerrit docker images for "real" tests of code. #200

@PMooreWand

Description

@PMooreWand

Not really an issue as closer to a discussion point.
I maintain a similar project as part of testing a modified gerrit code base with my work.
As part of testing that client I've employed the TestContainers package and spin up real gerrit instances on docker as part of the verify step in maven.
I've noticed the RealServerTest class and have used it when working out the PR's I've sent in here, and I was wondering if an integration suite utilising gerrit docker is something this project would be interested in?
Source of current usage I am referring to is here, I use this project's client to prep system for testing the client I'm running.
https://github.com/WANdisco/gerrit-sshd-java-client/blob/main/src/test/java/integration/utils/TestBase.java

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions