What is a testing framework?
A testing framework, a.k.a testing automation framework is an execution environment for automated tests.
What are the purposes of test automation?
What does a testing framework do?
What are test framework assumptions?
2. Focus of the developer should be on writing tests – not maintaining supported software.
What are test framework concepts?
What are some of the test framework tools?
Why use a testing framework?
What are the four phases of testing frameworks?
What is the ‘setup’ phase of a testing framework?
It’s the first phase thereof – the application is prepared for testing (may be as simple as importing a module), dependencies are replaced, and test data is prepared if it’s needed.
What is the ‘execution’ phase of a testing framework?
It’s the second phase thereof – the target behavior is performed and the output is captured including the response from an API and other sources.
What is the ‘validation’ phase of a testing framework?
It’s the third phase thereof – the expected result is compared with the actual to ensure correctness. This is when the assertions are used to compare the result with whatever was expected. The testing framework collects the results for reporting.
What is the ‘validation’ phase of a testing framework?
It’s the fourth and last phase thereof – the application state is restored in order to allow other tests to run without interference. Cleanup is only needed if there’s something that needs to be restored.