Jetpack/Testing: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
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.


Follow [https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/addon-development/installation.html these instructions] to download, install, and activate the SDK.
First, follow [https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/addon-development/installation.html these instructions] to download, install, and activate the SDK.


You can run tests using the <code>cfx</code> command-line tool. There's [https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/addon-development/cfx-tool.html cfx documentation here], and command line help is available by typing:
You can run tests using the <code>cfx</code> command-line tool. There's [https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/addon-development/cfx-tool.html cfx documentation here], and command line help is available by typing:
canmove, Confirmed users
737

edits