Writing tests is one of the best ways to guarantee quality software, prevent bugs, and produce clean and scalable code; yet many developers still don’t include tests with their code. Why?
- “I don’t know how.”
- "Writing tests is too hard."
- “I don’t have time.”
- “I don’t know what to test.”
- “This code is too simple to need tests.”
This training will:
- Address these common excuses and misconceptions, by presenting the actual value of employing test-driven development methodologies within your software development life cycle.
- Introduce basic software testing principles.
- Provide hands-on experience writing and running tests for a Drupal project, covering PHP and JavaScript.
- Demonstrate using continuous integration to automate test running for every pull request or patch.
What you will need for this training:
- Basic understanding of object-oriented development (preferably in the context of PHP and/or Drupal)
- An account on github.com
-
A laptop with the following installed, either directly on your system or within a virtual machine:
- git
- PHP 7.1
- Composer
- Sqlite 3
- Node.js 8
David Stinemetze is a software development manager at Rackspace in San Antonio, TX with over a decade of Drupal experience and is a maintainer for several Drupal modules, including Akamai, dataLayer, Web Page Archive, Accessibility Scanner and Performance Budget.
He is also an organizer of the San Antonio Drupal User Group.
When he's not writing code, he can be found playing one of his many musical instruments, enjoying a football game with friends or having exciting adventures with his three-year-old.
David Porter is a Principal Engineer on a large team working for Rackspace Hosting. He regularly mentors developers within (and without) teams, speaks semi-regularly at local web dev groups, and is a proud co-organizer of the San Antonio Drupal User Group.