Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
trevjonez committed Dec 28, 2017
1 parent f3f21c3 commit fc13510
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,14 @@ The test task is a customized gradle test task that will produce an html and xml

The html report task is a very basic html report to enable viewing and comparison of screen shots.

## Report examples
## Report example

The report attempts to deliver any relevant data for the test case.
For now this is any included extras and the rendered screenshots.
This is any included extras and the rendered screenshots as well as logcat for the duration of the test as reported by the runner.

![Report index screenshot](reportImages/ReportIndex.png)

On failing test cases the diff image will have any variant pixels marked in red.

![Report with failing test](reportImages/FailedTest.png)
On failing test cases the diff image will have any variant pixels marked in red, highlighting even the smallest changes.

![Report index screenshot](reportImages/FullReport.png)

## License
Copyright 2017 Trevor Jones
Expand Down
7 changes: 3 additions & 4 deletions example/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ apply plugin: 'kontrast'

android {
compileSdkVersion 26
buildToolsVersion "26.0.1"

defaultConfig {
applicationId "com.example.tjones.myapplication"
Expand All @@ -28,13 +27,13 @@ dependencies {
api "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
api "com.android.support:appcompat-v7:$supportLibVer"
api 'com.android.support.constraint:constraint-layout:1.0.2'
kapt 'com.android.databinding:compiler:3.0.0-beta2'
kapt 'com.android.databinding:compiler:3.0.1'

debugApi "com.github.trevjonez.Kontrast:appClient:$kontrast_version"

androidTestImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.0'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}

configurations.all {
Expand Down
6 changes: 3 additions & 3 deletions example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
buildscript {
ext.kotlin_version = '1.1.4-2'
ext.kontrast_version = 'AGP-3.0.0-SNAPSHOT'
ext.kotlin_version = '1.2.10'
ext.kontrast_version = '0.3.0'
repositories {
google()
jcenter()
mavenLocal()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta6'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.trevjonez.Kontrast:plugin:$kontrast_version"
}
Expand Down
Binary file removed reportImages/FailedTest.png
Binary file not shown.
Binary file added reportImages/FullReport.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed reportImages/ReportIndex.png
Binary file not shown.

0 comments on commit fc13510

Please sign in to comment.