23.02.2015 Views

www.it-ebooks.info

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table of Contents<br />

Tools and testing frameworks 194<br />

Un<strong>it</strong> testing w<strong>it</strong>h PHPUn<strong>it</strong> 194<br />

Installing Ecomdev_PHPUn<strong>it</strong> 194<br />

Setting up the configuration for our extension 196<br />

Anatomy of a Test case 197<br />

Creating a un<strong>it</strong> test 199<br />

Functional tests w<strong>it</strong>h Mink 208<br />

Magento Mink installation and setup 208<br />

Creating our first test 209<br />

Summary 212<br />

Chapter 8: Deployment and Distribution 213<br />

The road towards zero-downtime deployment 213<br />

Make <strong>it</strong> right from scratch 214<br />

Be sure that what you see is what you get 214<br />

Ready means ready 215<br />

Version control system and deployment 215<br />

SVN 216<br />

G<strong>it</strong> 216<br />

Distribution 217<br />

Packing our extension 218<br />

Package Info 219<br />

Release Info 220<br />

Authors 220<br />

Dependencies 221<br />

Contents 222<br />

Load Local Package 223<br />

Publishing our extension 223<br />

Summary 226<br />

Appendix: Hello Magento 227<br />

The configuration 227<br />

The controller 228<br />

Testing the route 229<br />

Index 231<br />

[ iv ]<br />

<strong>www</strong>.<strong>it</strong>-<strong>ebooks</strong>.<strong>info</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!