QA/TDAI/Inventory: Difference between revisions

From MozillaWiki
< QA‎ | TDAI
Jump to navigation Jump to search
(correcting removal of most page content)
Line 174: Line 174:
|-
|-
| DOM
| DOM
|  
| being transitioned into MochiTest
| browser and eyeballs?
| browser and eyeballs?
|  
|  
| dom/tests/js/*html and js, can be made into reftests or MochiTest
| dom/tests/js/*html and js
|
|
|-
|-
Line 198: Line 198:
| [[Custom Test Executables|custom executable/C++]]
| [[Custom Test Executables|custom executable/C++]]
|  
|  
| dir = gfx
| dir = gfx, tests = nsCoverage, DumpColors, TestColorNames, TestRect
|
|
|-
|-
| HTML Parsing
| HTML Parsing
|  
| Will need to deal with WHATWG/html5lib tests [https://bugzilla.mozilla.org/show_bug.cgi?id=366936 366936]. The htmlparser/tests/html test vs a baseline, but a baseline has not been stored.
| [[Custom Test Executables|custom executable/C++]] (non-functioning). Moving to WHATWG/html5lib tests [[https://bugzilla.mozilla.org/show_bug.cgi?id=366936 366936]]
| [[Custom Test Executables|custom executable/C++]]  
|
|
| [[http://lxr.mozilla.org/mozilla/source/parser/htmlparser/tests/html/README README]]<br>parser/htmlparser=327
| [[http://lxr.mozilla.org/mozilla/source/parser/htmlparser/tests/html/README README]]<br>parser/xml/tests/unit/test_parser.js (for xpcshell)<br>parser/htmlparser/robot/test (may be vestigal)<br>parser/htmlparser/tests/outsinks<br>parser/htmlparser/tests/html
| [mailto:mrbkap@mozilla.com mrbkap]
| [mailto:mrbkap@mozilla.com mrbkap]
|-
|-
Line 216: Line 216:
|-
|-
| XPConnect
| XPConnect
|  
| TestXPC -> "FAILED to get a JSRuntime"
| [[Custom Test Executables|custom executable/C++]]
| [[Custom Test Executables|custom executable/C++]]
|  
|  
Line 272: Line 272:
|-
|-
| XPCOM
| XPCOM
|
| 28 custom executables, most pass, can be better documented
| [[Custom Test Executables|custom executable/C++]]
| [[Custom Test Executables|custom executable/C++]]
|  
|  
| dirs = xpcom/proxy, xpcom
| xpcom/tests/unit/test_pipe.js (xpcshell)
|
|-
|-
| XPFE
| XPFE

Revision as of 01:53, 16 February 2007

Draft-template-image.png THIS PAGE IS A WORKING DRAFT Pencil-emoji U270F-gray.png
The page may be difficult to navigate, and some information on its subject might be incomplete and/or evolving rapidly.
If you have any questions or ideas, please add them as a new topic on the discussion page.

We all want quality to happen. How can we help? What is being run? What can I run something with? What does any of this mean? Not all questions are answered, but some.

This document has three sections:

  1. Test Harnesses - tools, designed to run tests. A harness may be targeted to a specific set of tests, or general to many kinds of tests. What test do you want to see run? Different harnesses could be used to run a given test. Which harness is better for which kinds of testing? kinds of testing?
  2. Test Suites - arbitrary groupings of test cases, roughly organized by functional area
  3. Test Infrastructure - the environments the test tools and test cases run in. This includes machine, operating system and physical location (ex: QA farm vs QA lab vs someone's desktop)

There are questions to be answered about any of our tests. If anyone has information or suggestions, please let us know.

  1. What tests do we have now, how current are they and how they should be run? Should they be expected to pass?
  2. What features or modules need tests to be written for them? What are the requirements of the testing that should happen?
  3. What tools do we have now that can be used to write tests? What tools outside of mozilla have people used to build tests and test tools.
  4. Of the tests currently in existence, which of them are outside the "mozilla.org" umbrella? Which use resources from outside? What is the reliability and accessibility of these resources? Are there issues which keep us from keeping local copies?

Any questions and suggestions are welcome!


Test Harnesses

Test Harness Name Brief Description Language Used Status of Harness Notes
MochiTest based on the MochiKit framework JavaScript Invocation by buildbot on QA machines is being set up. Invocation of tests by inidividuals on built trunk is possible with setup. Currently being made to work in automated test harnesses. MochiTest on devmo
jsunit JavaScript
Acid2 Web Standards Project compliance test page(s) Stds page
litmus Catalog of manual test cases English, German, French, etc. The place to be on Community Test Day! main site
xpcshell lots of under-the-hood XPCOM smarts! some JavaScript, much C++ xpcshell on devmo
SpiderMonkey used only for the js/tests by bc, et al, for JS testing JavaScript bc's page
reftest comparison of two pages, via JavaScript and Canvas, for visual equivalency JavaScript runnable on built trunk reftest on devmo
jssh a javascript shell. What more can you say? JavaScript described as "largely defunct"
Tp test of page loading currently runs in tinderbox
Tp2 test of page loading being developed to run in buildbot
T* includes Tdhtml, Ts, Txul, Trender (aka Tgfx), Z, and mZ most T Trender
'Browser and Eyeballs' The most common test harness in use today. wetware There is a new tester born every day! :-)

Test Suites

Test Suite Name Brief Description Test Harness(es) Status Notes Owner
JS tests well-developed suite of tests of the JavaScript language Custom framework in js/tests. Runs on QA Farm. Semi-automated. Plans to fully automate with Alice and Rob's help in Q1 2007 Run in customized harness, stable and not necessary to use or share. bc
Security tests Custom framework. Runs on QA Farm. Semi-automated. Plans to fully automate with Eggplant in Q1 2007 When bugs were filed, regression test cases are usually added. bc
Automated Smoke Tests A "Smoke Test" is a quick, basic qualification. Eggplant. Runs on Tracy's machines. Tests for FFx 1.5 and 2.0 Fully automated. Completed porting to Mac and Linux in Q4 2006. Plan to move executiion to QA Farm in Q1 2007 tracy
Basic Functionality Tests (BFT) 130+ manual test cases, broadly covering major features litmus for 1.5 and 2.0
Full Functionality Tests (FFT) approx. 280 manual test cases, covering most features litmus for 1.0, 1.5 and 2.0
Localization Tests 15 test cases litmus for 1.5 and 2.0
Software Update Suite approx. 50 tests, targeted to update process itself litmus
Browser/Content May be transitioned to reftest or MochiTest, as appropriate. custom executable/C++ (I need to break this category up. Too much is happening in here. -rrk) dirs = browser/components/places, browser/components/safebrowsing, browser/components/sessionstore, content/base, content/events, content/html/content, content, content/xml, content/xslt
XSLT re-purposing of the Adobe Xalan tests. custom executable/C++ Driver is in mozilla, but test content is at Apache. content/xslt/buster + files downloaded from svn.apache.org
content/xslt/XSLTMark - info on this?
DOM being transitioned into MochiTest browser and eyeballs? dom/tests/js/*html and js
Embedding custom executable/C++
Extensions custom executable/C++ dirs = extensions/canvas3d, extensions/java/xpcom, extensions/metrics, extensions/mono, extensions/python, extensions/schema-validation, extensions/spatialnavigation, extensions/webdav
Graphics custom executable/C++ dir = gfx, tests = nsCoverage, DumpColors, TestColorNames, TestRect
HTML Parsing Will need to deal with WHATWG/html5lib tests 366936. The htmlparser/tests/html test vs a baseline, but a baseline has not been stored. custom executable/C++ [README]
parser/xml/tests/unit/test_parser.js (for xpcshell)
parser/htmlparser/robot/test (may be vestigal)
parser/htmlparser/tests/outsinks
parser/htmlparser/tests/html
mrbkap
I18N custom executable/C++ dirs = intl, extensions/universalchardet
XPConnect TestXPC -> "FAILED to get a JSRuntime" custom executable/C++ dir = js/src/xpconnect
Layout/HTML 1800+ files. These can be transitioned, probably to reftest. "the old regression test suite" and reftest. Older tests will go to reftest. HTML file groups: CellMapTest, FrameSetNav, SlideShow, attributes, block, css, formctls, frameset, printer, style, table, tags, xbl.
Math/ML Do mathematical glyphs display correctly on all platforms? "browsers and eyeballs" also using w3c.org site content dir = layout/mathml
??? dirs = modules/libjar, modules/oji, modules/plugin
Networking 25 test executables, but all must be given parameters custom executable/C++ dir = netwerk
NSPR custom executable/c approx 150 test executables, most pass.
RDF custom executable/C++ dsds (not being built), rdfcat, rdfpoll, triplescat (doc for invoke?) dir = rdf
Security/NSS 26 tests, but not runnable without info custom executable/C++ and "make check" dir = security/nss
XPCOM 28 custom executables, most pass, can be better documented custom executable/C++ xpcom/tests/unit/test_pipe.js (xpcshell)
XPFE winopen.xul, runs but does not show final results dir = xpfe
XPInstall pre_checkin_trigger.html, runs in browser, passes dir = xpinstall

Test Infrastructures

Test Infrastructure Name Brief Description Harnesses and Test Suites in the Infrastructure Status of the Instructure Notes
tinderboxen Continuous build engine for Mozilla source, much chronicled in song and fable. "make check", the results of which may not be verified see dynamic Tinderbox display
buildbots Continuous build engines, written in Python, cycling rapidly based on Bonsai checkins. "make check", reftest and MochiTest reported via MozillaTest tinderbox
QA Farm some number of Windows, Linux and Macs. Details are not important. They should be a black box resource for developers to say "test this". "make check", reftest and MochiTest