2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2017 bis heute


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

[QF-Test] How to setup dependencies after each test case without breaking the flow


  • Subject: [QF-Test] How to setup dependencies after each test case without breaking the flow
  • From: Nedvěd, Marek <m.nedved@?.de>
  • Date: Wed, 29 Mar 2017 11:38:53 +0000
  • Delivered-to: qftest-list@?.net

Hello,

 

I am trying to add a script to my QFTest suite, which would search SUT logs for errors after each test case. However, I am having trouble to setup the dependency chain so it fires after each test case and doesn’t break the flow.

 

So far I’ve tried to add second dependency reference to the “main” dependency (Dep1 in the picture), which starts the application, but the problem is, that it breaks the flow and each time another dependency is set (DepenB), it gets after each test case reset (Cleanup of DepenB gets fired after each test case). Interestingly – the Cleanup of the main dependency (DepenA) isn’t fired.

 

More successful I’ve been by putting the parsing procedure to the Setup of the “main” dependency, then the other dependencies are saved, but the downside is, that the errors in logs would be assigned to the following test and I would have to add one  “fake” test  after the last test case. And it doesn’t feel right.

 

I hope I am somewhat clear on what I’m trying to achieve. Is there a trick how could I do that or do I have to call the Procedure in each nested cleanup?

 

 

Mit freundlichen Grüßen

Marek Nedvěd

qualitype GmbH - IT works.

_________________________

 

Marek Nedvěd

Softwaretester

 

Tel +49 351 8838 2800 | m.nedved@xxxxxxxxxxxx

 

qualitype GmbH | Moritzburger Weg 67 | 01109 Dresden | Germany

Tel +49 351 8838 2800 | Fax +49 351 8838 2809 | www.qualitype.de

 

Sitz der Gesellschaft / Head office: Dresden | Amtsgericht Dresden HRB 31753

Geschäftsführer / Management: Dr. Wilhelm Zörgiebel | Dr. Frank Götz