List of questions
Related questions
Question 30 - AD0-E718 discussion
An Adobe Commerce Architect creates a new functionality called Customs Fee, which adds a new total that applies to additional costs for handling customs clearance expenses. The extension allows specifying fee value for every website separately via the Adobe Commerce Configuration System.
The Architect plans to cover new functionality with integration tests. One test case needs to confirm if the total is calculated correctly on different websites.
How should the Architect make sure that test configuration data is added to test methods according to best practices?
A.
Override setuo () method, receive instance of \Magento\TestFramework\App\config, and specify value via setValue () method
B.
Specify @magentoconfigFixture annotations for the test methods in PHPDoc
C.
Create a fixture file to configure Adobe Commerce and specify it in test method PHPDoc using the @magentoconfigFixture annotation
Your answer:
0 comments
Sorted by
Leave a comment first