xy2z / capro

PHP8 static site generator
MIT License
8 stars 2 forks source link

PHPUnit tests for Collector class #23

Closed xy2z closed 1 year ago

xy2z commented 1 year ago

Make phpunit tests for all methods in the Collector class.

I already began a bit in tests\CollectorTest.php You can see all methods that needs test in src\Collector.php

You can run the phpunit test by calling vendor\bin\phpunit tests --testdox

Please ask if you have any questions


🎃 For more PHP hacktoberfest issues, see: https://github.com/search?q=owner%3Axy2z+label%3Ahacktoberfest+is%3Aopen&type=issues&s=comments&o=asc

klezaic commented 1 year ago

Hi, please review the linked PR which implements the functionality required in this issue: https://github.com/xy2z/capro/pull/26

Cheers