Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAlex Howes
13,424 PointsStandards and Best Practices Unit Testing Video
Hi, There doesn't seem to be a Unit Testing video after Creating Components on the PHP Standards and Best Practices Course.
The quiz however has questions based on Unit Testing.
Any way of getting the video up?
Cheers, Alex
2 Answers
Rafael Schwemmer
6,109 PointsI agree with Alex Howes. Two of the four questions in the quiz were not covered in the video. It felt like a video was missing.
thomascawthorn
22,986 PointsThere's a new testing course. Was unit testing not explained a bit in the sequence of videos leading up to this test? If not, paste the question you're not sure about.
Alex Howes
13,424 PointsI don't particularly need any help with any questions on the test, just pointing out that there seems to be a video missing as the previous video explains that there will be a small intro video on unit testing and the test after the video 'creating components' has a quiz on it.
Kristin Retaleato
1,610 PointsHere are the two questions in the quiz that are not covered by the video:
If PHPUnit is installed via Composer, how would you run the tests that live in the βtestβ directory?
If writing a test for a PSR-4 compliant PHP file called ./src/Manager.php, what would be a valid file name for the PHP Unit test?
Daisy Sajnog
Courses Plus Student 2,535 PointsDaisy Sajnog
Courses Plus Student 2,535 PointsThese two questions were not covered in the video preceding it:
If writing a test for a PSR-4 compliant PHP file called ./src/Manager.php, what would be a valid file name for the PHP Unit test?
If PHPUnit is installed via Composer, how would you run the tests that live in the βtestβ directory?
Should this test come after the next video?