mozilla

Revision 126181 of Thunderbird Automated Testing

  • Revision slug: Thunderbird/Thunderbird_Automated_Testing
  • Revision title: Thunderbird Automated Testing
  • Revision id: 126181
  • Created:
  • Creator: Standard8
  • Is current revision? No
  • Comment page created, 156 words added

Revision Content

Automated testing is increasingly becoming a significant and important part of Thunderbird's development. It allows us to quickly pick up regressions in patches and helps the developer to think about different cases.

This page and its sub-pages are intended to describe and provide pointers to the available test mechanisms within Thunderbird and supporting information for developers and testers.

Core Tests expanded for Thunderbird

xpcshell-tests and make check

These tests are run against almost every changeset that gets committed to the Thunderbird code base.

  • xpcshell-tests run in javascript without any chrome present. This makes them especially useful for testing at the component/module level. xpcshell-tests are the quickest tests to run. MailNews provides additional facilities
  • "make check" is used to run compiled code tests, these are tests for when xpcshell-tests isn't quite sufficient (e.g. need access to c++ code), and other options don't test at the right level.

Revision Source

<p>Automated testing is increasingly becoming a significant and important part of Thunderbird's development. It allows us to quickly pick up regressions in patches and helps the developer to think about different cases.</p>
<p>This page and its sub-pages are intended to describe and provide pointers to the available test mechanisms within Thunderbird and supporting information for developers and testers.</p>
<h3>Core Tests expanded for Thunderbird</h3>
<h4>xpcshell-tests and make check</h4>
<p>These tests are run against almost every changeset that gets committed to the Thunderbird code base.</p>
<ul> <li><a class="internal" href="/en/MailNews_xpcshell-tests" title="en/MailNews xpcshell-tests">xpcshell-tests</a> run in javascript without any chrome present. This makes them especially useful for testing at the component/module level. xpcshell-tests are the quickest tests to run. MailNews provides additional facilities </li> <li>"make check" is used to run <a class="internal" href="/en/Compiled-code_automated_tests" title="en/Compiled-code automated tests">compiled code tests</a>, these are tests for when xpcshell-tests isn't quite sufficient (e.g. need access to c++ code), and other options don't test at the right level.</li>
</ul>
Revert to this revision