Software Testing Videos and Tutorials: Load Testing, Unit Testing, Functional Testing, Performance Testing, Agile Testing, DevOps
Any developer who cares about software quality should be committed to writing unit tests. Used well it can be a vital tool in every developer’s toolbox, but unfortunately the theory and practice don’t always match up. Easily-made mistakes can lead to brittle, unmaintainable and ‘write-only’ tests that not only become difficult to work on, but can lead to a hatred of unit testing in general. Presented here are examples of these mistakes with code samples, why you’re making them and how to avoid them in future.
Test driven development follow this pattern: Setup – Execute – Verify the new state. Asking the system under test for its new state has traditionally been done to check the new state. This can create problems with the Law of Demeter. The system under test knows unnecessary much about the objects it is collaborating with.
Managers play a critical role in the success or failure of test automation. Although most testers and some test managers have a realistic view of what automation can and cannot do, many senior managers have firm ideas about automation that are misguided—or downright wrong.
WebPagetest is an awesome tool, but out of the box there isn’t an easy way to run large numbers of tests and get performance trends over time. This video presents wpt-script, an open source tool that makes this process much easier. wpt-script is the short name for WebPagetest Script, a simple wrapper for the WebPagetest API that allows you to easily generate tests and graph results.
This video is an introduction to Karma, an open source test runner that makes testing JavaScript applications in real browsers frictionless and enjoyable.
There’s nothing more frustrating than seeing that almost-green test suite ruined by a couple of intermittent issues that are difficult to reproduce. Intermittent issues are not only a maintenance pain, but they also lead to low confidence in the test tools themselves. This presentation goes through a few of the more common reasons for these failures, shares some mitigation strategies and tells some stories about some intermittent failures that were caused by some surprising issues.
Test-Driven Development (TDD) can be difficult to practice as features increase in complexity. Testing is often skipped when developers feel uncomfortable with TDD or have not yet seen certain approaches in practice. This video describes specific techniques used in TDD which touch on: Integration testing with RSpec+Capybara, Model Associations and Data Validations, Asynchronous Jobs, Emails, 3rd Party Services, and JSON API endpoints.