Skip to content

Added sanity UI tests in the sample app #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 28, 2017
Merged

Conversation

zawadz88
Copy link
Contributor

@zawadz88 zawadz88 commented Aug 23, 2017

This PR:

  • Adds Support test library 1.0.0 with Test Orchestrator and Espresso 3.0.0
  • Updates Android Gradle Plugin to 3.0.0-beta2
  • Performs sanity UI tests in the sample app by making screenshots of sample screens

This solves issue #189

See:
https://developer.android.com/training/testing/junit-runner.html
https://developer.android.com/studio/build/gradle-plugin-3-0-0.html

@zawadz88 zawadz88 requested review from fabiozo and pglebocki August 23, 2017 14:33
@codecov-io
Copy link

codecov-io commented Aug 23, 2017

Codecov Report

Merging #190 into develop will decrease coverage by 0.43%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop     #190      +/-   ##
=============================================
- Coverage      66.14%   65.71%   -0.44%     
- Complexity       198      202       +4     
=============================================
  Files             29       30       +1     
  Lines            963      980      +17     
  Branches          85       85              
=============================================
+ Hits             637      644       +7     
- Misses           281      290       +9     
- Partials          45       46       +1
Impacted Files Coverage Δ Complexity Δ
...main/java/com/stepstone/stepper/StepperLayout.java 41.3% <ø> (ø) 40 <0> (ø) ⬇️
...stepper/internal/widget/RightNavigationButton.java 41.17% <0%> (ø) 4% <0%> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdc10b5...ca6d12c. Read the comment docs.

Piotr Zawadzki added 3 commits August 23, 2017 21:09
* Fixed incorrect color in the sample app in 'Custom StepperLayout theme' sample
@zawadz88
Copy link
Contributor Author

Code coverage seems smaller due to the fact that previous code coverage excluded some files which it shouldn't. This was fixed now.

@zawadz88 zawadz88 merged commit eceb802 into develop Aug 28, 2017
@zawadz88 zawadz88 deleted the feature/issue-189 branch August 28, 2017 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants