QA:CodeCoverage: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 87: Line 87:
=== Execute some Unit tests  ===
=== Execute some Unit tests  ===


Change Directory to ~/mozcentral-dbg/_tests/testing/mochitest and execute the following command.
from $OBJDIR run the following<br>make check<br>make xpcshell-tests<br>make reftest<br>make crashtest<br>make mochitest-plain<br>make mochitest-chrome<br>make mochitest-browser-chrome<br>make mochitest-a11y<br><br>from SRC&nbsp;direcotry run the following<br><br>cd /home/user/src/js/tests<br>./jsDriver.pl -e smdebug -L lc2 -L lc3 -L spidermonkey-n-1.9.1.tests -s ~/mozcentral-dbg/dist/bin/js<br>./jsDriver.pl -e smdebug -L lc2 -L lc3 -L spidermonkey-n-1.9.1.tests -s ~/mozcentral-dbg/dist/bin/js -o '-j'<br>
 
<br>
 
from $OBJDIR run the following
make check
make xpcshell-tests
make reftest
make crashtest
make mochitest-plain
make mochitest-chrome
make mochitest-browser-chrome
make mochitest-a11y
from SRC&nbsp;direcotry run the following
cd /home/user/src/js/tests
./jsDriver.pl -e smdebug -L lc2 -L lc3 -L spidermonkey-n-1.9.1.tests -s ~/mozcentral-dbg/dist/bin/js
./jsDriver.pl -e smdebug -L lc2 -L lc3 -L spidermonkey-n-1.9.1.tests -s ~/mozcentral-dbg/dist/bin/js -o '-j'


<br> Please keep the focus on the Firefox browser , when running your tests, at all times or else your tests will fail.  
<br> Please keep the focus on the Firefox browser , when running your tests, at all times or else your tests will fail.  
183

edits

Navigation menu