The ecomdev-phpunit tag has no wiki summary.
0
votes
1answer
26 views
Pointers to write unit test cases using EcomDev_PHPUnit
I am trying to implement a web service client for one of my module and I would like to test it using EcomDev_PHPUnit. So, I have a "Test" folder inside my module with following structure...
- ...
0
votes
0answers
17 views
EcomDev_PHPUnit set up in Magento EE 1.13
I am trying to set up EComDev_PHPUnit in EE 1.13 as per the instructions in
https://github.com/EcomDev/EcomDev_PHPUnit
Well first hurdle was to get modman working but I gave up and copied over the ...
1
vote
1answer
45 views
Loading data (fixtures) for PHPUnit tests from the database
I am following the latest official manual for EcomDev_PHPUnit with the latest version of that module and Magento CE.
I understand that a fixture is a set of data in a YAML format that is used to ...
2
votes
2answers
133 views
How run unittest using EcomDev_PHPUnit module?
Here is described old version: http://www.ecomdev.org/2011/02/01/phpunit-and-magento-yes-you-can.html
And they wrote that I need call phpunit UnitTests.php
But I have magento v.1.7. I downloaded ...
0
votes
0answers
76 views
new product type image of bundled product - price_index not insert into catalog_product_entity
I created a new product type image of bundled product and everything is work except the children product cannot insert the price into database table salt_flat_quote_item and sale_flat_order_item. This ...
0
votes
0answers
67 views
new product type image of bundled product - children product price not insert in table sale_flat_quote_item and sale_flat_order_item
I created a new product type image of bundled product and everything is work except the children product cannot insert the price in to database table salt_flat_quote_item and sale_flat_order_item. ...
3
votes
1answer
338 views
Magento and PHPUnit Mocking Mage::getStoreConfig()
I am writing unit tests using the EcomDev PHPUnit extension.
When trying to provide values to the Mage::getStoreConfig() method using a fixture, I am not getting the value from my fixture, but the ...
5
votes
2answers
194 views
Combine Magento TAF with EcomDev_PHPUnit fixtures
I want to use the Magento Test Automation Framework to create a Smoke Test Suite, i.e. a test suite that quickly tests a cross section of the store to check for serious errors, not to test the correct ...
3
votes
2answers
179 views
How to Avoid Redirect to enable-cookies Page During Controller Test?
I am doing a very simple controller test using Ecomdev_PHPUnit:
class Foo_BarWishlist_Test_Controller_IndexController
extends EcomDev_PHPUnit_Test_Case_Controller
{
/**
* @test
* ...
0
votes
0answers
44 views
Run CSS queries against result in controller tests
In Ecomdev_PHPUnit is there already the possibility to run CSS queries (assertions) against the output in controller tests or do I have to utilize Zend_Dom_Query manually?