It is very common to have a many tests that look alike. In most cases these test will have duplicate content perhaps to setup the environment for the test. This duplication can very very painful when the environment changes. The change to the enviroment will have to be made in all the tests that share the duplicated content. This can very tedious and time consuming work. Fortunately it can be avoided.
Using the Include widget is the key. Let's assume that our tests follow the standard BOC pattern and they look like this:
And now we'll perform the Check step.
Using the Include widget is the key. Let's assume that our tests follow the standard BOC pattern and they look like this:
This is the Build step of our sample test.
It is common among multiple tests so it is saved in a separate page that can be included by test pages.
It is common among multiple tests so it is saved in a separate page that can be included by test pages.
A table that sets up for a test |
This is the Opertation step of our sample test.
It is common among multiple tests so it is saved in a separate page that can be included by test pages.
It is common among multiple tests so it is saved in a separate page that can be included by test pages.
A table the performs an operation that needs checking |
And now we'll perform the Check step.
A table that checks something |
Add Child Page to CommonIncludes