Core Review S01E02

The second episode of Magento #CoreReview. This time I focused on changes made to Magento Functional Testing Framework tests.

  1. Breaking backward compatibility and replacing the issue with backward-compatible replacement.
  2. Use of Magic Numbers, extracting set of actions to separate method, Phrase (named) placeholders.
  3. Use of index:reindex and cache:flush in Functional Tests, replacing ActionGroups to the ones that follow Best Practices.
  4. Code Style for DocBlocks.

Functional Tests

Be aware of #MFTF (Magento Functional Testing Framework) best practices.

Write a Comment

Your email address will not be published. Required fields are marked *