Questions tagged [phpunit]

phpUnit is the standard base for doing unit tests in the php world. When used in Magento Context it most times includes the usage of the EcomDev_PHPUnit Magento module.

Filter by
Sorted by
Tagged with
2
votes
1answer
366 views

Ecomdev_PHPUnit not loading custom attributes

I am dropping the test database before invoking phpunit in Ecomdev_PHPUnit. It creates the database and it's not importing user attributes from eav_attribute. Is it safe to just clone the real ...
6
votes
1answer
991 views

EcomDev PHPUnit Fixtures Magento

I am creating a fixtures yaml file to create a sample product for my unit tests - using the EcomDev phpunit plugin for Magento. The issue is that I need to set store specific values for price. I ...
14
votes
3answers
1k views

Composer installed Ecomdev_PhpUnit skips tests due to missing vfsstream

I'm working with an Enterprise Edition 1.13.1 install (although Community Edition would have the same issue), and we're installing dependencies via composer where they're available. I've installed ...

1 2
3