Skip to content

DanielHe4rt/lumen-unit-test

Repository files navigation

Lumen Unitary Test

Project made for study purposes and understand how PHPUnit and TDD works.

❗ The concept of everything

I found on my old drive some link for some Test for a random job who asks for a TDD heavy developer, so I decide to try to learn how to write and code TDD.

💻 Technologies

I chose to use Lumen because I work with the framework on a daily basis, so it makes a lot easier. Here is the most important about the code:

  • PHPUnit
    Used to make all tests run. I was about to use the Codeception, but PHPUnit is already native on Laravel/Lumen, so is a quite easy to run everything

Ok, now let's install and try it.

🚀 5 minutes quick start

💡 After your project is cloned, you must have installed the composer on your machine to download all dependencies. Entering the command below will begin to download the dependencies:

composer install

With everything set up, you can run the game using the command below (Remember to use this command on the project folder):
vendor/bin/phpunit --testdox

📬 License

This software was created for study purposes only. Feel free to try it out.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages