(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[QF-Test] Setup, dependencies and exception handling
This dependency stuff is really hard to get right :-)
I have observed that parent dependencies are not executed if the child contains a setup node. Is that correct behaviour?
Testset Parent (inherits dependencies)
Setup B: Change data
I use dependency A to ensure that all preconditions are met (example application started and mainwindow open). The Setup B node is used for doing some steps that all testcases in the set starts with (instead of repeating myself in every testcase). I would expect the execution of testset Parent to ´start executing Dependency A before the setup node, but the dependency is skipped.
I understand that it will work if I change the setup B to a dependency, but I like to keep the distinction between preconditions and steps that I want to be performed for every testcase.
I would like to hear comments on this.
By the way, does anyone have some good examples of how to implement high-level exception handling in the script? I am trying to make my script more exception resistent and would appreciate some inspiration. Thank you.
Capgemini Danmark A/S, Registered office: Gentofte, Reg.No. 25606965