Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stevegrunwell/intro-to-testing

Slides for "Testing Like You've Never Tested Before (Because You Haven't)"
https://github.com/stevegrunwell/intro-to-testing

integration-testing mockery phpunit slides testing unit-testing

Last synced: about 1 month ago
JSON representation

Slides for "Testing Like You've Never Tested Before (Because You Haven't)"

Awesome Lists containing this project

README

        

# Testing Like You've Never Tested Before (Because You Haven't)

Testing software in an automated fashion is one of the best ways to guarantee quality, reduce bugs, and prevent regressions in our code, and is a prerequisite to operating in a Continuous Integration environment. Unfortunately, the most difficult parts of testing come right at the beginning: scaffolding a test suite and writing our very first tests. For those who are new to automated testing, these hurdles can prove overwhelming.

This talk covers the fundamentals of testing, in a beginner-friendly way. We'll discuss how testing makes software better, the various levels of the Automation Pyramid, how to scaffold some basic unit and integration tests, and discuss the characteristics of great tests.

:sparkles: **[View slides](http://stevegrunwell.github.io/intro-to-testing)** :sparkles:

## Resources

* [PHPUnit](https://phpunit.de/)
* [Mockery](http://docs.mockery.io/en/latest/)
* [Testing with Guzzle](http://docs.guzzlephp.org/en/stable/testing.html)
* [_The Five Types of Test Doubles & How to Create Them in PHPUnit_ by Jessica Mauerhan](https://jmauerhan.wordpress.com/2018/10/04/the-5-types-of-test-doubles-and-how-to-create-them-in-phpunit/)

## Presentation History

* [Longhorn PHP 2019](https://www.longhornphp.com/) — May 4, 2019 ([Joind.in](https://joind.in/talk/e5448))
* [Ohio Laravel Meetup](http://ohiolaravel.com) — April 3, 2019 ([YouTube](https://www.youtube.com/watch?v=C0iOUSfqMo8), [PDF](https://github.com/stevegrunwell/intro-to-testing/releases/download/ohio-laravel/slides.pdf))
* [Midwest PHP 2019](https://2019.midwestphp.org) — March 9, 2019 ([Joind.in](https://joind.in/talk/860b1), [PDF](https://github.com/stevegrunwell/intro-to-testing/releases/download/midwest-php/slides.pdf))
* [Nomad PHP](https://nomadphp.com) — January 17, 2019 ([Video](https://nomadphp.com/video/225/testing-like-you-ve-never-tested-before-because-you-haven-t), [PDF](https://github.com/stevegrunwell/intro-to-testing/releases/download/nomad-php/slides.pdf))
* [CodeMash 2019](https://codemash.org) — January 11, 2019 ([PDF](https://github.com/stevegrunwell/intro-to-testing/releases/download/codemash-2019/slides.pdf))
* [WavePHP 2018](https://wavephp.com/) — September 21, 2018 ([Joind.in](https://joind.in/talk/fc19f), [PDF](https://github.com/stevegrunwell/intro-to-testing/releases/download/wavephp-2018/slides.pdf))
* [WordCamp Kent 2018](https://2018.kent.wordcamp.org/) — June 9, 2018 ([PDF](https://github.com/stevegrunwell/intro-to-testing/releases/download/wordcamp-kent-2018/slides.pdf))