forked from magento/magento2-functional-testing-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkippedGenerationTest.php
55 lines (50 loc) · 1.48 KB
/
SkippedGenerationTest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace tests\verification\Tests;
use tests\util\MftfTestCase;
class SkippedGenerationTest extends MftfTestCase
{
/**
* Tests skipped test generation.
*
* @throws \Exception
* @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
*/
public function testSkippedGeneration()
{
$this->generateAndCompareTest('SkippedTest');
}
/**
* Tests skipped test generation does not generate hooks.
*
* @throws \Exception
* @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
*/
public function testSkippedWithHooksGeneration()
{
$this->generateAndCompareTest('SkippedTestWithHooks');
}
/**
* Tests skipped test with multiple issues generation.
*
* @throws \Exception
* @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
*/
public function testMultipleSkippedIssuesGeneration()
{
$this->generateAndCompareTest('SkippedTestTwoIssues');
}
/**
* Tests skipped test generation with no specified issues. Will be deprecated after MFTF 3.0.0
*
* @throws \Exception
* @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
*/
public function testSkippedNoIssueGeneration()
{
$this->generateAndCompareTest('SkippedTestNoIssues');
}
}