What Do Tests Look Like?
So what will your first test end up looking like? In this session, you’ll be taken on a guided tour of how to approach writing a test and implementing a series of tests.
This session is a guided tour of creating a series of testing scenarios for implementing the FizzBuzz algorithm. By the end of this session you will have learned about the following:
- How Test-Driven Development works
- The testing building block of assertions
- How to build test scenarios using the Arrange-Act-Assert pattern
- How to reduce the amount of code you need using built-in PHP features