Skip to content

Testing

phil/migration
AreaWhat is covered
Announcements, Release, NewsNotes and news by migration, the order of the run, locales, what is refused, clearing
Channel, MessagesNotes and news of a locale, headings and links, titles numbered and their room, the cut at a space, lengths in characters, the bounds of a channel
Announcer, ChatterPublisherEvery channel told, a failing one logged once and left, the transport of the chat message
AnnouncingMigrationFactory, AnnouncingMigrator, AnnouncingMigrationReal Doctrine migrations on SQLite in memory: one announcement per run, a skipped migration and a plain one, a dry run, a failed run with and without all or nothing, nothing to run, notes left by an earlier attempt, a migration not given the announcements
vendor/bin/phpunit packages/migration/tests

Benchmarks

The phpbench subjects under tests/Benchmark measure the hot paths at several sizes. From the monorepo root:

composer bench -- packages/migration/tests/Benchmark