exercism / php-test-runner

GNU Affero General Public License v3.0
0 stars 6 forks source link

New test runner design #130

Closed mk-mxp closed 1 month ago

mk-mxp commented 1 month ago

As suggested in #110 a re-implementation of all current use cases (test cases) using PHPUnit events. This reduces the complexity a lot.

@exercism/maintainers-admin I changed code ownership, as this replaces the existing test-runner completely.

@homersimpsons Do you want to take a look, also?

I also optimized the files remaining in the Docker image:

#23 [runtime 7/7] RUN ls -la && ls -la bin
#23 0.057 total 136
#23 0.057 drwxr-xr-x    5 root     root          4096 Aug 10 09:02 .
#23 0.057 drwxr-xr-x    1 root     root          4096 Aug 10 09:02 ..
#23 0.057 -rw-r--r--    1 root     root          4345 Aug 10 09:02 CODE_OF_CONDUCT.md
#23 0.057 -rw-r--r--    1 root     root         34522 Aug 10 09:02 LICENSE
#23 0.057 -rw-r--r--    1 root     root          1936 Aug 10 09:02 README.md
#23 0.057 drwxr-xr-x    2 root     root          4096 Aug 10 09:02 bin
#23 0.057 -rw-r--r--    1 root     root           262 Aug 10 09:02 composer.json
#23 0.057 -rw-r--r--    1 root     root         59562 Aug 10 09:02 composer.lock
#23 0.057 -rw-r--r--    1 root     root           372 Aug 10 09:02 phpunit.xml
#23 0.057 drwxr-xr-x    2 root     root          4096 Aug 10 09:02 src
#23 0.057 drwxr-xr-x   10 root     root          4096 Aug 10 09:02 vendor
#23 0.058 total 12
#23 0.058 drwxr-xr-x    2 root     root          4096 Aug 10 09:02 .
#23 0.058 drwxr-xr-x    5 root     root          4096 Aug 10 09:02 ..
#23 0.058 -rwxr-xr-x    1 root     root          2172 Aug 10 09:02 run.sh
#23 DONE 0.1s
mk-mxp commented 1 month ago

Thanks to everyone! I'll merge on Thursday, as I have more time that day in case of unexpected things happening.