Article - Adding global and local init and cleanup to test cases

Skip to end of metadata
Go to start of metadata

For sake of easier maintenance/more flexibility one should consider introducing an init/cleanup mechanism on a global level for the test scripts.

For this a small change to any test script is require, but this can be done en masse by using the search & replace functionality of text editor (or any other tool of your choice) to add the required source(findFile("scripts", "...")) command to all your scripts at once.

Test script example:

Shared test suite resource or global script example:

Test Results:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.