Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Denotes questions related to Magento CE/EE version 2.0
8
votes
Simulating Order Data For a Unit Test
You should distinguish between unit and integration tests.
Unit Test
In a unit test the class under test should get the order data from a collaborator that you can inject as a mock, for example th …
33
votes
2
answers
4k
views
How does Magento2 generate the specific ExtensionFactory and ExtensionAttributeInterface?
I would like to wrap my head around using extension attributes, for example for quote items.
It is no problem adding a custom attribute to such an entity using a setup class like in Magento 1, this is …
22
votes
Magento 2: what are the benefits of using UI grid components over the standard Grid.php?
@raphael-at-digital-pianism asked me to post this list of things I think are wrong with the adminhtml grid UI component XML, so here goes:
What is wrong with adminhtml grid UI component XML?
Slow f …
119
votes
Accepted
How to implement service contract for a custom module in Magento 2?
I would like to give a bit more detail in addition to the excellent answer of @ryanF.
I would like to sum up the reasons to add a repository for custom entities, give examples how to do so, and also …