Protect your code from regressions as it changes with fast-running automated tests
* Currently, all training is delivered remotely. Onsite training will resume in 2022
* Why automate unit tests?
* Anatomy of a unit test
* Test methods & test fixtures
* Test suites
* The xUnit unit test framework pattern
* Setting up a test project
* Creating test fixtures
* Writing test methods
* Making assertions
* Running tests in your IDE and at the command line
* Advanced Features
- Parameterised tests
- Fluent assertions
* Stubs, Mocks & Dummies
* Stubbing external dependencies
* Tell, Don't Ask
* Testing object interactions with mock objects
* Red, Green, Refactor
* What makes code “legacy”?
* A process for making legacy code unit testable
* The “boy scout” rule
|First 4-6 people (online)||475|
|Next 7-12 people (online & onsite)||350|
|Next 13-20 people (onsite only)||225|
|Additional people on the day||475|
You will need a suitable computer with your favourite JS, PHP, Python, C# or Java editor/IDE installed. On-site courses will require a room large enough to comfortably accomodate all participants, good, reliable Internet access (Wi-Fi), and a data projector or suitably large TV (with HDMI input) that will allow participants to read code from the back of the room. You will find a pen and paper handy.
Online training is available whereever you are, pretty much. (There are a few countries it's sadly not possible to do business with, of course.) Onsite training is available across the UK, Europe and many other regions. Ask us.
9/10 times, the trainer will be Codemanship founder and course author Jason Gorman. Jason has 38 years' programming experience and three decades of professional experience as a developer, technical lead and software architect. He's run hundreds of code craft training workshops over the last 20 years, and is a very experienced teacher and mentor. If, for any reason, Jason isn't available for your workshop, we'll inform you well in advance and offer you a trainer of similar industry seniority.
Yes. You will most definitely be writing code in this workshop. Business analysts, testers, project managers etc may find it useful to sit in and observe -at no charge - if they want to gain an understanding of Test-Driven Development and how it fits into the overall software development cycle, but this is 100% a hands-on workshop.