Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2007

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Serialization of Dependencies

  • Subject: Re: [QF-Test] Serialization of Dependencies
  • From: "Michaelis, Mark" <mark.michaelis@?.com>
  • Date: Thu, 6 Dec 2007 15:21:03 +0100

Hello Greg,

a very good hint, indeed. I think your explanation would fit very well into the user manual. Perhaps some dependency graphs would help to understand the topic. I tried a first approach in the attached PDF based on your examples. Perhaps there are more useful examples which could go into the manual.

Kind Regards

Mark Michaelis
Software Engineer Quality Assurance
Ludwig-Erhard-Str. 18
20459 Hamburg, Germany
CoreMedia AG
Executive Board: Sören Stamer (CEO), Dr. Klemens Kleiminger (CFO)
Supervisory Board: Prof. Dr. Joachim Schmidt (Chairman)
Trade Register: Amtsgericht Hamburg, HR B 76277


> -----Original Message-----
> From: Gregor Schmid [mailto:Gregor.Schmid@?.de]
> Sent: Thursday, December 06, 2007 2:49 PM
> To: qftest-list@?.de
> Cc: Michaelis, Mark
> Subject: Re: [QF-Test] Serialization of Dependencies
> Hello Mark,
> the order of 'Dependency references' does matter. Basically, the
> linearization algorithm is modeled after the C3 Method Resolution
> Algorithm for linearization of OO class hierarchies with multiple
> inheritance, coming originally from Dylan and adopted by Python for
> Python version 2.3. A very good explanation - though not for the faint
> of heart - can be found at
> http://python.fyxm.net/2.3/mro.html
> QF-Test dependencies and references are similar to a class hierarchy
> with inheritance, with the additional complication that it is possibly
> for one dependency to both reference dependencies and inherit
> dependencies from the parent test-set.
> But basically the linearization algorithm is the same. It tries to
> enforce that:
>  - if A references B then B must come before A
>  - if A references first B then C then B must come before C
>  - if a test has dependency A and also inherits dependency B from its
>    parent, then B must come before A
> There were some bugs in the linearization algorithm of the early 2.1
> versions, but to the best of my knowledge it works fine in 2.2.
> Best regards,
>     Greg

Attachment: QFTestDependenciesExamples.pdf
Description: QFTestDependenciesExamples.pdf

Videos Downloads Documentation Buy Free Trial