Search⌘ K
AI Features

Project Challenge: Create Tests

Explore how to implement automated tests for a PHP task management application using PHPUnit. Understand testing user authentication, task creation, editing, access control, and task completion to ensure your application works securely and correctly.

We'll cover the following...

Problem statement

The final challenge of this course is to create tests for the task management application.

You have to create the following tests in the coding environment provided below:

  • you_need_to_be_logged_in(string $path): Test if an unauthenticated user is redirected to the /login page.
  • after_logging_in_you_have_access_to_the_list_of_tasks(): Assert that after logging in,
...