Commit d4984c5 1 parent c0202a3 commit d4984c5 Copy full SHA for d4984c5
File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1
- * Added mechanism of cleaning up all data after scenario execution
1
+ * Added mechanism of cleaning up data in steps after scenario execution
2
2
3
3
1.0.0-rc.23
4
4
=============
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ protected function executeScenario()
56
56
$ config [$ testCaseName ]['step ' ],
57
57
$ config [$ testCaseName ]['firstStep ' ]
58
58
);
59
- /** @var \Magento\Mtf\Util\Iterator\Step $stepIterator */
60
59
$ this ->stepIterator = $ this ->objectManager ->create (
61
60
'Magento\Mtf\Util\Iterator\Step ' ,
62
61
[
@@ -71,18 +70,17 @@ protected function executeScenario()
71
70
}
72
71
73
72
/**
74
- * Run with Variations Iterator
73
+ * Execute test variation with cleaning up data in steps after scenario execution.
75
74
*
76
75
* @param \PHPUnit_Framework_TestResult $result
77
- * @return \PHPUnit_Framework_TestResult
76
+ * @param array $variation
77
+ * @return void
78
78
*/
79
- public function run (\PHPUnit_Framework_TestResult $ result = null )
79
+ protected function executeTestVariation (\PHPUnit_Framework_TestResult $ result, array $ variation )
80
80
{
81
- $ result = parent ::run ($ result );
81
+ parent ::executeTestVariation ($ result, $ variation );
82
82
83
83
$ this ->runStepsCleanup ();
84
-
85
- return $ result ;
86
84
}
87
85
88
86
/**
You can’t perform that action at this time.
0 commit comments