Skip to content

Testing

phil/instant-messenger
AreaWhat is covered
KnownMessengerEvery handle form of every service, phone numbers outside their plan or with an extension refused, their links, foreign links refused, display, links, names
Handle, MessengersCanonical handles, equality, refusals, detection in order, an application's services first

Infection holds the library at 100 % of mutants killed.

vendor/bin/phpunit packages/instant-messenger/tests

Benchmarks

The phpbench benchmarks in tests/Benchmark/ measure Messengers::detect() over every known service, for inputs read by the first service, a later one, or none. From the monorepo root:

composer bench -- packages/instant-messenger/tests/Benchmark