I also would recommend to use a mock for unit tests. 

If you are interested in writing a system test (end-to-end test) you can write 
a new acceptance test: https://github.com/jenkinsci/acceptance-test-harness
There you can create a docker fixture that runs your server. 

Am 06.06.2014 um 14:22 schrieb Mads Nielsen <[email protected]>:

> Strictly speaking a unit test that relies heavily on an external tool i:  not 
> a unit test, but more akin to a functional or integration test, would it be 
> possible to adap the test to strictly test the contract between the app and 
> your code? Can you mock it instead or something?
> 
> 
> On Fri, Jun 6, 2014 at 2:16 PM, Palic, Darko <[email protected]> 
> wrote:
> Hello Uli,
> 
> thank you for the commit access! Haven't even dreamt about getting it ;-)
> 
> Could you tell me additionally, if the cloudbees or any other server on the 
> jenkins build does provide a clamav daemon?
> So I could change the unit-test-code to use it.
> 
> best wishes
> Darko
> 
> 
> 
> On 06.06.2014 13:55, Ulli Hafner wrote:
>> You should now have commit access.
>> 
>> Welcome aboard!
>> 
>> Ulli
> 
> 
> -- 
> 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].
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> 
> Mads Nielsen
> Consultant
> Praqma A/S
> Tel: +45 50 98 18 09
> Mail: [email protected]
> web: www.praqma.net
> 
> -- 
> 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].
> For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to