Jetpack/Testing: Difference between revisions

Jump to navigation Jump to search
m (→‎cfx testex: Correct command name.)
Line 2: Line 2:
This page explains how to run the SDK's unit tests, and how to interpret the results. It's aimed at people who don't have any familiarity with the SDK, but nevertheless have to run the tests to diagnose any test failures, for example because of regressions introduced by the underlying platform.
This page explains how to run the SDK's unit tests, and how to interpret the results. It's aimed at people who don't have any familiarity with the SDK, but nevertheless have to run the tests to diagnose any test failures, for example because of regressions introduced by the underlying platform.


== Quick Start ==
== Running tests from compiled Firefox ==
 
You have two options to run tests from a built version of Firefox. Both do basically the same thing and are quite limited right now, if you want more functionality (like being able to select specific tests) you'll need to checkout the SDK repository separately and follow the later instructions.
 
=== Running with mach ===
 
From the source directory or object directory run:
 
  mach jetpack-test
 
=== Running with make ===
 
From the object directory run:
 
  make jetpack-tests
 
== Running tests from the SDK repository ==


First, get the SDK from git:
First, get the SDK from git:
canmove, Confirmed users
1,567

edits

Navigation menu