Skip to content

Generating tests fails for all if a single test fails #276

Closed
@magicsunday

Description

@magicsunday

Running command vendor/bin/mftf generate:tests gets error.

Preconditions

Magento version 2.3.0-beta32
Mftf version 2.3.11

Steps to reproduce

Run `vendor/bin/mftf generate:tests`

Expected result

The tests should been generated.

Actual result

Currently due an error in a third party extension (dotmailer/dotmailer-magento-extension#306) the command fails to generate the tests. This shouldn't happen imho.

If I manually disable the exception thrown in vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/Util/ActionMergeUtil.php (Line 278) the command runs fine and all the other tests are generated.

Imho the command shouldn't fail if any test fails to be generated. I should instead print a warning or log the error and proceed with the next test.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions