Tag: unit-tests

43 Run tests for a specific module in Magento2 2015-10-15T12:58:28.490

20 Tools for Unit Testing in Magento 2013-11-23T17:09:19.277

20 What is the proper way for unit testing PHP7 code with PHPUnit 4.1 in Magento 2? 2017-02-13T16:13:21.917

17 EcomDev_PHPUnit set up in Magento EE 1.13 2013-07-24T06:17:08.357

13 Unit Testing Observers in Magento 2013-12-03T15:55:20.037

9 Best practice for unit tests in Magento 1.9 2016-11-03T11:44:11.807

8 How to get ScopeConfigInterface through the object manager of unit tests in magento 2? 2016-06-01T10:53:36.603

8 Unit testing source models 2016-06-06T05:48:24.063

7 Magento enterprise edition 1.14 automation functional tests 2015-04-12T10:17:59.053

7 PHP Static tests for front-end devs 2016-08-26T11:08:42.863

6 How to avoid redirection to "enable-cookies" page during controller unit test? 2013-02-11T10:33:08.630

6 Magento and PHPUnit Mocking Mage::getStoreConfig() 2013-03-04T20:42:14.913

6 Generate factory or proxy in unit tests: "ReflectionException: Class ...Factory does not exist" 2016-05-24T08:49:39.883

6 How to mock a Context object 2016-06-23T08:51:53.787

6 Instantiating models for unit tests 2016-06-23T09:25:34.967

6 What we can achieve by unit test in Magento 2 ? How it is useful? 2017-11-07T04:16:54.733

5 Magento 2 Functional Testing using Phantom JS (or other headless) 2017-01-31T18:16:14.010

5 Unit test Issue on getting value 2017-09-29T13:55:17.417

4 Test Driven Development with Magento 2013-09-20T20:37:42.693

4 setting up ecomdev install error 'host is not set for base url' 2014-02-28T17:05:26.287

4 How we can create unit tests to everything we have created for our custom module in Magento 2? 2015-10-28T06:46:59.560

4 Writing Magento 2 Unit Tests 2015-10-28T12:07:56.673

4 How to properly use getCollectionMock 2016-06-09T15:40:10.860

4 Magento 2 : When to use Object Manager in Unit tests? 2016-10-12T06:44:36.067

3 Magento 2 Tests in Magento 2013-07-08T08:21:29.773

3 Problem creating mock method for "core/store" with ecomdev phpunit 2013-11-27T08:59:10.883

3 Why is this test script for eav visibility attribute failing? 2013-12-20T22:45:45.713

3 How to obtain the Object Manager in Unit-Tests? 2016-01-06T15:01:50.573

3 Unit tests custom module not executed - Magento 2 2016-06-21T12:44:43.870

3 Unit Test or Integration Test for this kind of functions? 2016-07-30T08:55:31.450

3 How to write tests when closures are involved 2017-03-02T11:19:48.193

3 Magento2 - Why would Magento Test Framework - Integration tests fail on a clean composer install 2017-06-07T13:45:41.573

2 How run unittest using EcomDev_PHPUnit module? 2013-05-14T07:12:32.480

2 EcomDev PHPUnit Translation not Working with Mocked Helper 2014-12-03T15:16:39.997

2 Which is the best way to test my magento system after developed 2015-07-02T10:04:29.747

2 Simulating Order Data For a Unit Test 2016-03-24T19:54:09.347

2 How to mock a class property in Magento 2 Unit Test 2016-06-23T12:33:17.707

2 Magento2 javascript tests only possible through phpstorm? 2016-07-26T13:12:41.010

2 Magento 2 - run phpunit to test 2016-09-11T04:21:34.320

2 Magento 2 : Unit test with mock data don't work. Why? 2016-10-11T14:43:54.520

2 Magento 2: how to use the CommandTester 2016-12-01T09:20:04.147

2 Magento Unit Test Error 2017-02-05T12:37:08.960

2 Unit Test for Repository Functions in Magento 2 2017-02-15T14:00:40.790

2 Magento\Mtf\TestCase\Scenario Location file? 2017-08-15T08:00:09.900

2 What is the correct way to create mock object in unit test 2017-09-28T07:02:49.223

2 How to write Unit test for my blocks in magento 2 2017-11-09T11:16:49.180

2 What is Magento Functional Testing Framework (MTFT) 2017-12-13T12:21:35.777

2 Magento1 - tests - phpunit compatibility 2018-02-22T12:57:08.423

1 Pointers to write unit test cases using EcomDev_PHPUnit 2013-07-25T06:46:21.813

1 EcomDev_PHPUnit displaying errors after setup 2014-03-06T16:58:25.393

1 Testing Parent-Child Self Relationship With EcomDev_PHPUnit 2014-06-22T04:55:17.597

1 EcomDev_PHPUnit assert block property contains 2014-08-19T10:01:47.077

1 Mage::getModel instance overriden 2014-10-25T07:27:52.270

1 Fixture for a product's group price not working 2016-02-01T03:59:15.333

1 Magento Test Framework(MTF) vs Selenium with Java - Magento 2.0.1 2016-04-06T19:17:09.727

1 How to mock an external resource in Magento 2? 2016-06-25T07:53:58.077

1 Magento 2 : mocking `getParam()` in unit test not working 2016-11-21T16:00:49.180

1 Testing magento 2 admin user _isAllowed 2017-01-30T19:48:16.797

1 How to check if user exists in Unit Test ? in Magento2 2017-02-19T15:04:12.633

1 Magento 2: How long should Unit, Integration and Framework Tests take to run on an unmodified site; 2017-02-20T15:10:05.367

1 How to run unit tests without using Selenium? 2017-03-04T08:27:55.010

1 Magento 2: Mocking method, return value not working 2017-04-22T15:51:41.490

1 Set up Magento block as a SUT for PHPUnit 2017-04-25T13:13:54.693

1 Magento 2 Unit test for exception 2017-10-17T09:00:34.113

1 unit test with phpunit 2017-12-07T12:04:16.307

1 Magento 2 Unit Test error: Call to a member function getBaseUrl() on null 2018-01-07T15:09:25.120

1 Magento2 unit tests doesn't run using vendor/bin/phpunit or vendor/phpunit/phpunit/phpunit 2018-01-21T19:03:22.227

0 How can I install and use the Magento Test Framework (without using pear to install phpunit, on Linux Mint 17) 2015-05-26T22:39:22.827

0 How To use Test in /dev/ folder? 2015-10-12T02:06:16.110

0 Unit Test for overwrite collection class in magento2 2015-11-02T19:33:51.760

0 Cannot retrieve EAV product data 2016-02-01T23:00:34.640

0 Magento2 Unit Test - Mock setExtensionAttributes() 2016-03-10T08:36:18.503

0 Magento 1 - How to run tests (/tests/) 2016-06-09T07:15:01.233

0 How to write Unit Test for a function which uses a variable defined in Constructor 2016-06-15T09:14:11.143

0 Magento 2 Retrieved core_config_data value is null 2016-07-23T22:31:31.263

0 Magento EE 2.1 : error of parameter type in Unit Test 2016-08-29T10:00:30.060

0 Mock products and setting values on unit testing 2016-12-22T16:35:03.103

0 Magento CE 1.9.x Testing 2017-02-13T11:45:26.510

0 Unit test case for custom module REST API 2017-06-22T07:22:19.763

0 Magento 2 Travis Unit tests errors 2017-07-27T10:00:23.903

0 How to write a test for custom router and plugin in magento 2? 2017-09-15T04:21:55.300

0 Magento 2 TEST_SUITE=functional ACCEPTANCE_INDEX=1 2017-10-09T12:01:33.293