Difference between revisions of "How-Tos"
(New page: ==Welcome== Welcome to the Seneca How-To page. You'll find How-To's for all things Open Source related. ==Wiki== ===How to add a how-to=== To add a how-to to this page add a heading unde...) |
(→Mochitests) |
||
Line 26: | Line 26: | ||
<pre>cd $(OBJDIR)/_tests/testing/mochitest | <pre>cd $(OBJDIR)/_tests/testing/mochitest | ||
python runtests.py</pre> | python runtests.py</pre> | ||
+ | or | ||
+ | <pre>make -C $(OBJDIR) mochitest</pre> | ||
There are more options that are available for running [https://developer.mozilla.org/en/Mochitest Mochitests]. | There are more options that are available for running [https://developer.mozilla.org/en/Mochitest Mochitests]. | ||
</blockquote> | </blockquote> | ||
+ | |||
=====XPCShell===== | =====XPCShell===== | ||
=====Reftests===== | =====Reftests===== |
Revision as of 14:12, 28 November 2008
Contents
Welcome
Welcome to the Seneca How-To page. You'll find How-To's for all things Open Source related.
Wiki
How to add a how-to
To add a how-to to this page add a heading under the correct category OR create a category if one doesn't exist. There are currently no formatting or style rules. The suggestion is to be clean and well laid out. Look over the current how-to's to get a feel on how your tutorial should be laid out. Thank you for the contribution.
Mozilla
Firefox
Automated Tests
For an overview on Automated testing with Mozilla can be found on the Mozilla Developer Center.
Mochitests
Steps to run tests on Firefox
Step 1
Modify the .mozconfig file to include
ac_add_options --enable-tests
Step 2
Build Firefox
Step 3
Run the Mochitests
cd $(OBJDIR)/_tests/testing/mochitest python runtests.pyor
make -C $(OBJDIR) mochitestThere are more options that are available for running Mochitests.