mastouille.fr est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Mastouille est une instance Mastodon durable, ouverte, et hébergée en France.

Administré par :

Statistiques du serveur :

635
comptes actifs

#mutationtesting

0 message0 participant0 message aujourd’hui

Fun fact about #MutationTesting in #PHP: code that follows FP-style with strong types and low CCLOC generates much less mutants, and is therefore much faster to check!

For example:

* github.com/Roave/BackwardCompa - 1.75m MT run
* github.com/maglnet/ComposerReq - 18.25m MT run

The second codebase is also much smaller than the second, yet takes much more time! The coding style uses a lot of loops and conditionals though, and the number of mutants generated increases geometrically with code complexity.

GitHubMerge pull request #744 from Roave/renovate/doctrine-coding-standard-… · Roave/BackwardCompatibilityCheck@2ffdcbb:ab: Tool to compare two revisions of a class API to check for BC breaks - Merge pull request #744 from Roave/renovate/doctrine-coding-standard-… · Roave/BackwardCompatibilityCheck@2ffdcbb
Suite du fil

#TCR (Test && Commit || Revert) makes for very cheap #MutationTesting. 😃 I wasn't sure whether the thing I had done was covered by tests, since I didn't know enough about my tools to write a failing test. (forgetting to add a mandatory relation on create should generate a `not null violation` - programming error). So made it work by clicking around, debugging and modifying. Removed the code that made it work and got a bunch of failing tests. TCR reverted my removal and I'm back! #MyElixirStatus