Hi, I have a question about unit testing.
I have some tests that do a 'roundTrip' as described here: https://wiki.jenkins-ci.org/display/JENKINS/Unit+Test#UnitTest-Configurationroundtriptesting - that works nicely. It checks that the config page is populated correctly and the values make it back to a new object on a submit/save. I want to extend the tests so that I modify some of the fields before submitting the form (so they go through form validation etc.). I've looked for some examples of this but haven't found any - could anyone point me to some code that does this? I've looked at the HtmlForm for the config but it's quite hard to figure out how that relates to the very simple Jelly textboxes I have. I basically just need to be able to set values in a number of text fields and then submit. This should be easy shouldn't it? Any pointers appreciated. Thanks Andy -- 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/388a8843-a48f-4f3b-a76e-99a26b3b407e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
