In this episode we look at the importance of isolating our unit tests from external dependencies and real world things like time.
The code produced during this episode can be found on GitHub
In this episode we look at the importance of isolating our unit tests from external dependencies and real world things like time.
The code produced during this episode can be found on GitHub
In this screencast we try out a new Test Driven Development concept call Test && (Revert || Commit) or TCR .
The idea of TCR is that you work in very small increments and a little bit of test code and a little bit of production code. When you run the test if the test pass your changes are committed and if you tests fail your changes are reverted.
You can find the code created during this video in this GitHub repository.
The plugin I use for IntelliJ is Limited WIP
In episode 13 of Testing All The Things We implement a Set (Abstract Data Type) in Go
we look at Ginkgo a BDD spec framework and assertion/matching library Gomega.
You can find the code created during this video in this GitHub repository.
In episode 12 of Testing All The Things we look at Infection a PHP Mutation Testing Framework.
You can find the code created during this video in this GitHub repository.
In episode 11 of Testing All The Things we look at Testify A testing toolkit for Go.
You can find the code created during this video in this GitHub repository. The Gists I mention for the Goland Live Template are: Suite, Test and Setup
In episode 10 of Testing All The Things we continue to look at PHPSpec. In this video we recreate the driving licence generator using Prophecy the mocking framework that come with PHPSpec.
You can find all the Test Double code in this GitHub repository.
In episode 9 of Testing All The Things we look at a different PHP testing framework PHPSpec. PHPSpec is a BDD Spec testing framework.
You can find all the Test Double code in this GitHub repository
In episode 8 of Testing All The Thing we look at TDD in Go. In this video we only use the testing features made available in core language.
You can find all the Test Double code in this GitHub repository
In episode 7 of Testing All The Things we replace the hand coded test doubles with ones creating with the test double framework Mockery.
You can find all the Test Double code in this GitHub repository
In episode 6 of Testing All The Things we look at setting up PHPStorm and PHPUnit. During the video we look at feature and shortcuts to make your development process as simple as possible.