Class InteractiveConsole
java.lang.Object
org.jenkinsci.test.acceptance.utils.groovy.InteractiveConsole
Interactive Groovy console that's useful while developing a test.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
InteractiveConsole
public InteractiveConsole()
-
-
Method Details
-
execute
Call this method at the point you want to drop into the Groovy console for exploration.- Parameters:
caller
- Methods/fields of this object becomes accessible to the script as if they are built-in. Usually you want to pass in the instance of the test class.args
- [name, value, name, value, ... ] pair array that defines additional variables accessible from the script. Useful to expose local variables in scope
-