Jetpack/Testing: Difference between revisions

no edit summary
No edit summary
Line 153: Line 153:
It also looks for [http://docs.python.org/library/doctest.html DocTests] in the documentation files, and executes any that it finds. But there aren't any, at the moment.
It also looks for [http://docs.python.org/library/doctest.html DocTests] in the documentation files, and executes any that it finds. But there aren't any, at the moment.


== testex ==
== cfx testex ==


<code>cfx testcfx</code> runs <code>cfx test</code> for all the add-ons which ship with the SDK under the examples/ directory.
<code>cfx testcfx</code> runs <code>cfx test</code> for all the add-ons which ship with the SDK under the examples/ directory.


== testpkgs ==
== cfx testpkgs ==


<code>cfx testpkgs</code> finds all packages installed under the packages/ directory, and executes <code>cfx test</code> for each package it finds.
<code>cfx testpkgs</code> finds all packages installed under the packages/ directory, and executes <code>cfx test</code> for each package it finds.


== testall ==
== cfx testall ==


<code>cfx testall</code> tests everything:
<code>cfx testall</code> tests everything:
canmove, Confirmed users
737

edits