cometchat-android-v6-testing
Installation
SKILL.md
Ground truth: the installed kit's API shape (
CometChatUIKitstatic object;CometChatstatic singleton) +contracts.android-v6.json. The UI Kit ships no test doubles or test APIs — nothing below invents one; the testable seam is code YOU write around the SDK. Verify symbols against catalogandroid-v6.json.
Companion skills (read first)
cometchat-android-v6-core— install, credentials,initFromSettings → login → render, lifecycle, sizing. Assumed here, never repeated.cometchat-android-v6-production— the release checks these tests protect.
Use this skill when
"how do we test this?", "mock CometChat in unit tests", "write a UI test for the chat screen", "add CometChat checks to CI", "how do I test login without hitting the network?".
Prerequisites & install
Standard Android testing stack only — JUnit4, a mocking library (MockK for Kotlin), androidx.test/Espresso for Views, androidx.compose.ui:ui-test-junit4 for Compose. No CometChat test artifact exists; don't look for one.