We have some integrations tests for Vault, I would imagine it could be very similar to a git docker container.
https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/plugin/src/test/java/io/jenkins/plugins/casc/vault On Friday, April 26, 2019 at 1:06:03 AM UTC+2, Ullrich Hafner wrote: > > I’m currently trying to write some integration tests with Jenkins test > harness (i.e. JenkinsRule) that were previously part of ATH. For some of > the ATH concepts I did not yet find a counterpart in our integration tests. > > Is someone already writing integration tests that use agents that are > provided by a docker container and has an example to share? > > Since my plugins interact with Git I want to create a Git Repository in > the test setup with fake data. Do we have a kind of API to fill a Git > repository (like GitRepo in ATH)? > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/8dcc3860-231b-4367-8a3f-46c475f7cbaa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
