Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 855 Bytes

README.md

File metadata and controls

47 lines (35 loc) · 855 Bytes

parcelable-tester

Usage:

import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.runner.RunWith;

import com.edallagnol.parcelabletester.ParcelableTester;

@RunWith(AndroidJUnit4.class)
public class ParcelableTest {

	@org.junit.Test
	public void test() throws Exception {
		new ParcelableTester(InstrumentationRegistry.getTargetContext())
				.testAllInAppPackage();
	}
	
}

Gradle:

Project build.gradle:

allprojects {
    repositories {
        ...
        // com.edallagnol
        maven { url "https://mymavenrepo.com/repo/Ghd1bN1WIPA0LBBLKxW8/" }
    }
}

Module build.gradle:

dependencies {
	implementation 'com.edallagnol:parcelable-tester-annotations:0.4'
	...
	androidTestImplementation 'com.edallagnol:parcelable-tester:0.4'
}