|
Usage
GrinderStone usage for Grinder scripts development, run and debug in Eclipse.
Featured, Phase-Deploy Run and Debug Grinder ScriptsTo Run or Debug scripts you should:
GrinderStone will search grinder.properties file in root of your project and use it as default grinder configuration file for all running configurations in project. If grinder.properties is not found you have to locate it manually using displayed dialog:
For debugging Grinder scripts set breakpoint on necessary line and start debugging as Debug As > Grinder Run. The script execution will stop on this line and you can perform step by step debugging as usual:
It can be useful to evaluate some expressions during debug Grinder scripts. Just select necessary text in script > right click > Watch:
Project ReferencesGrinderStone resolve referenced Java projects from Jython projects, i.e. you can use separate Java project to develop Java classes which will be used in Grinder script:
All referenced projects with its dependencies will be automatically added to classpath during Grinder script Run. Deprecated Usage Requirements
if __name__ == '__main__':
TestRunner().__call__() This code can stay but it will not be executed neither in Eclipse by GrinderStone nor in standard running mode by Grinder. GrinderStone use other method to call TestRunner in Debug mode now and do it explicitly for user.
NOTE: It is not necessary to enumerate all usages in imports without '*' but It is a good practice (i.e. you can but you shouldn't). Related links |