International PHP Conference
The Conference for PHP and Web Development

Testing Strategy with the Help of a Static Analyzer

Session
Until October 1:
✓ PS Classic or C64 for free
✓ Group discount
✓ Save up to € 520
Register now
Bis 1. Oktober:
✓ PS Classic oder C64 Mini for free
✓ Kollegenrabatt
✓ Bis zu 520 € sparen
Jetzt anmelden
Until July 9:
✓ Workshop Day for free
✓ PS Classic Mini or C64 Mini for free
✓ Save up to € 648
Register now
Bis 9. Juli:
✓ Workshop-Tag for free
✓ PS Classic Mini oder C64 Mini gratis
✓ Bis zu 648 € sparen
Jetzt anmelden
Infos
Thursday, October 24 2019
10:30 - 11:30

What if I told you that you don’t need a 100% code coverage?
Compiled languages need to know about the type of every variable, return type of every method etc. before the program runs. This is why the compiler needs to make sure that the program is “correct” and will happily point out to you these kinds of mistakes in the source code, like calling an undefined method or passing a wrong number of arguments to a function. The compiler acts as a first line of defense before you are able to deploy the application into production.
On the other hand, PHP is nothing like that. If you make a mistake, the program will crash when the line of code with the mistake is executed. When testing a PHP application, whether manually or automatically, developers spend a lot of their time discovering mistakes that wouldn’t even compile in other languages, leaving less time for testing actual business logic.
There are several static analyzers available for PHP that substitute the role of the compiler in other languages. By finding bugs without even having to execute the code, they can save a lot of effort that’d be spent on tedious writing of boring unit tests. In this talk, I will share tips and tricks on how to structure your code to maximize benefits from using a static analyzer. You won’t stop writing unit tests, but you will focus your efforts on areas where they count the most.

This Session belongs to the Diese Session gehört zum Programm vom MunichMünchen program. Take me to the program of . Hier geht es zum Programm von Online Edition Online Edition .

This Session belongs to the Diese Session gehört zum Programm vom MunichMünchen program. Take me to the program of . Hier geht es zum Programm von Berlin Berlin .

Take me to the full program of Zum vollständigen Programm von Munich München .

This Session Diese Session belongs to the gehört zum Programm von MunichMünchen program. Take me to the current program of . Hier geht es zum aktuellen Programm von Online Edition Online Edition , Berlin Berlin or oder Munich München .

Stay tuned!

Behind the Tracks of IPC

PHP Core Technology
Best Practices & Application

General Web Development
General Web Development & more

Agile & Company Culture
Agility has become mainstream

Software Architecture
Concepts & Environments

Security
All about Web Security

Testing & Test Driven Development
More about software testing tools and strategies

DevOps & Continuous Delivery
DevOps is a philosophy

Docker, Kubernetes, Cloud
Cloud-based & native apps

#slideless (pure coding)
Showing how technology really works

PHP Frameworks
All about PHP Frameworks

Content Management Systems
Sessions on Content Management Systems