Changes

Jump to: navigation, search

Mobile/Fennec/Android/Testing

855 bytes added, 17:14, 9 May 2016
For the impatient...
They will all run against a connected Android device using your Firefox for Android build. Don't have a device? These commands will offer to start an emulator.
 
=== Quick reference ===
As a front-end dev, the following jobs will be regularly useful:
{| class="wikitable sortable"
|-
! Name
! Results name (TH)
! Auto?
! Local command
! Description
|-
| Robocop
| rc*
| N
| <tt>./mach robocop</tt>
| UI tests
|-
| JUnit4 tests
| test (tier 2)
| Y
| <tt>./mach gradle app:test</tt>
| Java unit test suite
|-
| Checkstyle
| checkstyle (tier 2)
| Y
| <tt>./mach gradle app:checkstyle</tt>
| Reports style violation in Java code
|-
| Android Lint
| lint (tier 2)
| Y
| <tt>./mach gradle app:lint</tt>
| Detects common errors in Android code & resources
|-
| eslint
| ES (lint opt: tier 2)
| Y
| <tt>./mach eslint mobile/android</tt>
| Checks for JS errors (e.g. syntax errors)
|}
 
Key:
* <b>TH</b> stands for Treeherder
* <b>Auto?</b> refers to jobs that run automatically on Treeherder when the associated files change
== Test Environment ==
Confirm
975
edits

Navigation menu