DevTools/GetInvolved: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 82: Line 82:
2. '''mochitest''': More of an integration style of tests. Fires up a whole browser window with every test and you can test clicking on buttons, etc.
2. '''mochitest''': More of an integration style of tests. Fires up a whole browser window with every test and you can test clicking on buttons, etc.


=== xpcshell Tests ===
==== xpcshell Tests ====


To run all of the xpcshell tests:
To run all of the xpcshell tests:
Line 92: Line 92:
   $ ./mach xpcshell-test toolkit/devtools/path/to/the/test_you_want_to_run.js
   $ ./mach xpcshell-test toolkit/devtools/path/to/the/test_you_want_to_run.js


=== Mochitests ===
==== Mochitests ====


To run the whole suite of mochitests for devtools (sit back and relax):
To run the whole suite of mochitests for devtools (sit back and relax):
Confirmed users
125

edits