Changes

Jump to: navigation, search

Mobile/Fennec/Android/Testing

110 bytes added, 17:47, 9 May 2016
Quick reference
! Local command
! Description
! More
|-
| Robocop
| <tt>./mach robocop</tt>
| On-device UI tests
| [[#robocop UI tests|#]]
|-
| JUnit4 tests
| <tt>./mach gradle app:test</tt>
| Java unit test suite
| #
|-
| integration
| via IDE
| On-device integration tests
| #
|}
| <tt>./mach gradle app:checkstyle</tt>
| Reports style violation in Java code
| #
|-
| Android Lint
| <tt>./mach gradle app:lint</tt>
| Detects common errors in Android code & resources
| #
|-
| eslint
| <tt>./mach eslint mobile/android</tt>
| Checks for JS errors (e.g. syntax errors)
| #
|}
* <b>TH</b> stands for Treeherder
* <b>Auto?</b> refers to jobs that run automatically on Treeherder when the associated files change
* <b>More</b> links to more information regarding a test
== Test Environment ==
Confirm
975
edits

Navigation menu