Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Testing Goals1:20 with Alena Holligan
PHPUnit is a powerful tool and there is much more we could cover. There are also other methods of testing and other tools used for those tests.
Introduction to Selenium a sophisticated testing framework that automates browsers. This means it’s possible to write User Acceptance Tests that examine the entire app as a whole.
Usability Testing walks through the steps of usability testing for your website or app. Covering the benefits of testing; what to do before, during, and after tests; and strategies to improve your testing process over time.
Introduction to QA Engineering. Testing is something every developer must do to write effective and quality code, but going about what you should test and how to do it can be a challenging question. Quality Assurance is the practice of monitoring other developers' work and creating processes and tests that will ensure the product meets the end user’s expectations and limiting the amount of bugs that are released. This course will teach you how to become a Software Quality Assurance Engineer.
Additional Tools for Testing in PHP
Behat is a Behaviour Driven Development (BDD) framework for PHP to help you test business expectations. It starts by writing human-readable sentences. As an open-source project, it is highly extensible, hence many extensions are present.
Codeception is an Automated Testing Framework which can be used for acceptance testing of web applications but can also be used for unit testing as well as functional testing of web apps. Test execution speed in Codeception is high, hence it is one of the most widely preferable frameworks for testing in PHP.
The ultimate goal for
testing is to introduce the concept of continuous deployment.
Even though this could fill up an entire course, I'll give you a quick summary.
Continuous deployment is the idea that every time a developer makes changes to
the code, automated systems grab those changes, tests are run on the code,
and if everything passes, the code is automatically deployed to production.
If the tests fail, the code is rejected and
your production environment is protected from those errors.
Because PHPUnit is so heavily focused on the command line,
running the test themselves can be easily automated.
After all, computers are much better at doing the same thing over and
over and over again than humans are.
So why not get a computer to do it for you so
that you can concentrate on more important things?
PHPUnit is a powerful tool, and there's much more that we could cover.
There are also other methods of testing and other tools used for those tests.
When you're ready to explore more testing,
check the notes associated with this video for additional resources.
Until then, have fun making the world and your code a better place.
You need to sign up for Treehouse in order to download course files.Sign up