Driving Quality with PhpSpec and PhpStorm

preview_player
Показать описание
Is a SpecBDD tool the same as a TDD tool, or something quite different? This talk answers these questions, and shows how PhpSpec can be integrated into your development workflow to drive quality in your Object Oriented design. We demonstrate all the examples in PhpStorm and also give some tips on PhpSpec features in PhpStorm.

00:40 Difference between BDD and TDD
06:10 PHPUnit, Behat, PhpSpec
08:40 PhpSpec History and Design Principles
12:40 Installation via Composer
13:40 Describing object behavior
16:20 Verifying object behavior
23:25 Describing values (matchers)
26:05 Describing сollaboration
46:50 Describing commands
51:40 Future plans
52:45 PhpSpec integration in PhpStorm
Рекомендации по теме
Комментарии
Автор

Thank you Ciaran! Very inspiring and educational stuff! Looking forward for more videos like these.

run-forrest-run
Автор

Thanks Ciaran! For the tool and the clear demo.

gregbell
Автор

Thanks very much. Are you looking at any way to implement specs for static methods?

ssssmajeure
Автор

I can't get code completion to work in 2016.3.2. If I write $this->something() PHPStorm says Method not found in spec. The function do exist in the class I'm testing. Am I wrong or is this supposed to work, like in your screencast?

ABUSKarriere
visit shbcf.ru