rcarvello / webmvcframework

PHP MVC framework for bulding web applications
http://www.webmvcframework.com
Other
53 stars 16 forks source link

Unit tests #5

Closed peter279k closed 3 years ago

peter279k commented 5 years ago

I think this package should require the unit tests and it can validate the every class unit to do expected behavior.

And I also suggest that we can consider using the PHPUnit to complete this issue :).

If we want to let the unit tests run automatically on upcoming PR, we can also consider using the Travis CI to complete this.

It makes sure every future upcoming PRs will do the expected behavior.

rcarvello commented 3 years ago

https://pacroy.medium.com/why-most-unit-testing-is-waste-tests-dont-improve-quality-developers-do-47a8584f79ab

peter279k commented 3 years ago

https://performancelabus.com/unit-testing-importance/

peter279k commented 3 years ago

Sometimes tests can be helpful for developers know all code behaviors quickly and find the current bugs correctly.

Closed because author doesn't prefer that.