Maikuolan / Common

Common Classes Package.
GNU General Public License v2.0
7 stars 3 forks source link

To do: Unit tests. #1

Closed Maikuolan closed 3 years ago

Maikuolan commented 5 years ago

Need to write unit tests for the currently available classes.

Maikuolan commented 5 years ago

Interesting.. I synced up v1 with the latest tests which were recently merged to v2, and according to the tests, the complex string handler produces some different results on different PHP versions. PHP > 5.6 produces the expected results, but we get something different for PHP <= 5.6. Not sure yet what's going on there.. Tests look good to me. Might be some different behaviour between different PHP versions for some of the functions used by the class which I hadn't accounted for before. Anyway, doing some other things tonight, but I'll investigate further tomorrow.

Maikuolan commented 4 years ago

PHP <= 5.6 failures resolved.

Maikuolan commented 4 years ago

Current coverage/progress:

Maikuolan commented 3 years ago

All classes (other than the Cache handler) now have tests. :-)

Marking as implemented and closing.