CleverTap / clevertap-android-sdk

CleverTap Android SDK
MIT License
80 stars 74 forks source link

Unit tests for multi triggers MC-2344 #686

Closed piyush-kukadiya closed 2 days ago

piyush-kukadiya commented 1 week ago

Added unit tests for multi trigger feature https://github.com/CleverTap/clevertap-android-sdk/pull/683

  1. Fixes broken unit tests.
  2. Adds new test cases
piyush-kukadiya commented 1 week ago

@CTLalit We have many static classes/functions which requires mockStatic blocks. It is how code is designed surrounding CleverTapAPI and CTExecutorFactory. We have it in our backlog to remove static usage from codebase, but it's very long process. We can pick it up as small chunks.