This repository contains examples of PHP unit testing using PHPUnit version 10. The tests cover a factorial function and a User
class.
The factorial()
function takes a positive integer as input and returns its factorial. The unit tests for this function test the output of the function against known values of the factorial function.
The User
class represents a user object with a name and email. The unit tests for this class test the creation of a User
object and its methods.
This project was created by:
- Nada Saeed
- Hager Khaled
- Mariam Khaled
- Radwa Khalil
- Radwa Nabil