tddwizard / magento2-fixtures

Fixture library for Magento 2 integration tests by @schmengler (@integer-net)
http://tddwizard.com/
MIT License
143 stars 28 forks source link

add method for extension attributes #68

Closed lfolco closed 1 year ago

lfolco commented 3 years ago

I could not figure out how to test this, though. Any ideas?

schmengler commented 3 years ago

Maybe with extension attributes from the core? The only one that comes to mind is the stock though, that does not make so much sense I think. Or use @magentoComponentsDir to register a test module with extension attributes on the fly.

lfolco commented 3 years ago

Any examples of how to use @magentoComponentsdir to register a test module? I looked around the core but haven't been able to make heads or tails of it.

lfolco commented 2 years ago

Would love some guidance on how to get this thing tested and merged, I went down the rabbit hole with @magentoComponentsdir and there is zero documentation on how to create your own that doesn't exist within the Magento dev directory.