Adobe Commerce Developer Expert AD0-E716 Question # 4 Topic 1 Discussion

Adobe Commerce Developer Expert AD0-E716 Question # 4 Topic 1 Discussion

AD0-E716 Exam Topic 1 Question 4 Discussion:
Question #: 4
Topic #: 1

An Adobe Commerce developer is writing an integration test. They checked some Integration Tests for Magento core modules for reference and noticed that they use data fixtures initialized by adding annotations to test classes. For example:

AD0-E716 Question 4

The developer wants to add their own fixture to test a MyVendor_MyModule they created. Which steps will make this possible?


A.

1. Create a PHP file with the fixture data inside their own module in [module dir]/Test/integration/_fiies/my_fixture.php.

2. Add the following annotation to the test method:

AD0-E716 Question 4 Option 1


B.

1. Create a PHP file With the fixture data in [magento root dir]/dev/tests/integration/testsuite/MyVendor/MyModule/_files/my_fixture.php.

2. Add the following annotation to the test method:

4


C.

1. Create a PHP file with the fixture data inside their own module in [module dir]/Test/integration/_f iies/my_f ixture.php.

2. Add the following annotation to the test method:

4


D.

Option A


E.

Option B


F.

Option C


Get Premium AD0-E716 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.