Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Magento PHP Developer????s Guide, 2nd Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
Magento PHP Developer????s Guide, 2nd Edition

Magento PHP Developer????s Guide, 2nd Edition

By : MacGregor
2 (4)
close
close
Magento PHP Developer????s Guide, 2nd Edition

Magento PHP Developer????s Guide, 2nd Edition

2 (4)
By: MacGregor

Overview of this book

This book is written for PHP developers who are familiar with frameworks such as Zend or CakePHP and want to start developing and working with Magento. No prior knowledge of Magento is required.
Table of Contents (11 chapters)
close
close
10
Index

Tools and testing frameworks

As mentioned previously, there are several frameworks and tools available to test PHP and Magento code:

  • Ecomdev_PHPUnit: This extension is just amazing. The developers at Ecomdev created an extension that integrates PHPUnit with Magento and also adds Magento-specific assertions to PHPUnit without having to modify core files or affect the database.
  • Magento_Mink: Mink is a PHP library for the Behat framework that allows you to write functional and acceptance tests; Mink also allows you to write tests that simulate user behavior and browser interaction.
  • Magento_TAF: This stands for Magento Test Automation Framework and is the official testing tool provided by Magento. It includes over 1,000 functional tests and is very powerful. Unfortunately, it has a major drawback; it has a large overhead and a steep learning curve.

Unit testing with PHPUnit

Before Ecomdev_PHPUnit, testing Magento with PHPUnit was problematic and really not very practical. Out of the different methods...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Magento PHP Developer????s Guide, 2nd Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon