> Am 08.07.2019 um 10:14 schrieb Rajeev Ranjan <[email protected]>: > > Hi Team, > I have some unit tests which is running fine when invoked directly but I want > to ensure it is running fine on slave agent also. Ho can I configure my > automation to run the tests on windows slaves?
I don’t think that there is an option to automatically run tests on a Windows agent as you need an OS installation on the agent. If you are running locally on Windows then you can write an integration test using a DumbSlave (Example: https://github.com/jenkinsci/warnings-ng-plugin/blob/master/src/test/java/io/jenkins/plugins/analysis/warnings/DumbSlaveITest.java <https://github.com/jenkinsci/warnings-ng-plugin/blob/master/src/test/java/io/jenkins/plugins/analysis/warnings/DumbSlaveITest.java>). (Running tests on a Unix based docker agent is simpler.) > Is these any documentation for the same. I referred > https://jenkins.io/doc/developer/testing/ for help but here mocking agent > part is marked as todo. Can you please redirect me to documentation for the > same. > Thanks in advance. There is no such documentation yet. I hopefully find some time to add some more content in a couple of weeks… > > Regards > Rajeev Ranjan > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/5e90709f-1c27-4b1b-a879-8443b7c143bb%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/5e90709f-1c27-4b1b-a879-8443b7c143bb%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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/A8B26439-D5F1-42D1-AB68-4DC3501F0C7C%40gmail.com. For more options, visit https://groups.google.com/d/optout.
