tiger-seo / PhpBuiltinServer

Codeception extension for starting and stopping php built-in server
38 stars 35 forks source link

Upgrade to Codeception 5 and PHP 8.1 #50

Open kipanshi opened 1 year ago

kipanshi commented 1 year ago

Tests passed locally:

➜  bin/codecept run
Codeception PHP Testing Framework v5.0.10 https://helpukrainewin.org

Acceptance Tests (1) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
✔ PhpBrowserTestCept: Perform actions and see result(0.04s)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Unit Tests (5) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
✔ Test: Exception if required fields are not met(0.02s)
✔ Test: Exception if document root does not exist(0.00s)
✔ Test: Exception if document root is not a directory(0.00s)
✔ Test: Server is not run if autostart config is false(0.00s)
✔ Test: Server is run if autostart config is true(0.00s)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Time: 00:02.337, Memory: 14.00 MB

OK (6 tests, 9 assertions)
gimler commented 10 months ago

@tiger-seo can you take a look at this pull request, please?

stevenkroiher commented 10 months ago

@tiger-seo it would be very nice if you can push this library to working with codeception 5 and php 8