Implementing Base Test Configuration Framework in Lottie Android
The BaseTest class serves as the foundation for Lottie Android’s test infrastructure, implementing core test configurations using Robolectric for Android environment simulation. This base class establishes essential test parameters and configurations that other test classes can inherit and build upon.
Test Coverage Overview
Implementation Analysis
Technical Details
Best Practices Demonstrated
airbnb/lottie-android
lottie/src/test/java/com/airbnb/lottie/BaseTest.java
package com.airbnb.lottie;
import android.os.Build;
import org.junit.Ignore;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
import org.robolectric.annotation.Config;
@RunWith(RobolectricTestRunner.class)
@Config(sdk = Build.VERSION_CODES.P)
@Ignore("Base Test")
public class BaseTest {
}