Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Improve the coverage metrics by improving* tests #33

Open
2 tasks
castarco opened this issue Apr 6, 2015 · 0 comments
Open
2 tasks

Improve the coverage metrics by improving* tests #33

castarco opened this issue Apr 6, 2015 · 0 comments

Comments

@castarco
Copy link
Contributor

castarco commented Apr 6, 2015

Test annotations

Currently, the unit tests of the library aren't properly marked with the @uses and @covers annotations to indicate what's the test intending to cover. This fact leads us to an optimistic and erroneous code coverage ratio, potentially hiding important bugs.

Using Mutation testing, at least locally

Mutation testing it's very useful to discover new bugs and discover test coverage "holes". Recently has appeared a new PHP mutation testing called Humbug, which could be used to improve the library's tests.

I've been experimenting without success (I didn't spent enough time, and the project is currently in alpha or beta state), but if anyone wants to experiment, I think the task is worth.

  • Tests annotations
  • Mutation testing
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant