User:Rcampbell/QA Projects: Difference between revisions

no edit summary
No edit summary
Line 1: Line 1:
=== jssh test harness documentation ===
== Unit Testing Framework ==


[[User:Davel|Dave Liebreich]] has [[SoftwareTesting:Tools:TestRunnerPython|documented]] this and will likely contain updates as he moves forward with this test harness.
As documented in bug# [https://bugzilla.mozilla.org/show_bug.cgi?id=343673 343673]


==== requirements ====
[[SoftwareTesting:Tools:UnitTest]]


python (2.3 or greater)
== Automated Testing Frameworks ==


firefox 1.5 with jssh - built with mozconfig
As documented in bug# [https://bugzilla.mozilla.org/show_bug.cgi?id=325470 325470]


<pre>. $topsrcdir/browser/config/mozconfig
[[SoftwareTesting:Tools:TestRunnerPython]]


mk_add_options MOZ_CO_PROJECT=browser
[[SoftwareTesting:Tools:jsshHowTo|jssh test harness HOW-TO]]
mk_add_options MOZ_OBJDIR=@topsrcdir@/../objdir/browser
# mk_add_options MOZ_CO_MODULE=mozilla/js/tests
 
ac_add_options --enable-extensions=default,jssh
mk_add_options MOZ_MAKE_FLAGS="-j4"</pre>
 
firefox 2.0 with jssh
 
pull MOZILLA_1_8_BRANCH from cvs
 
<pre>cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_BRANCH mozilla/client.mk</pre>
 
or, checkout the client.mk
 
<pre>cvs co -r MOZILLA_1_8_BRANCH mozilla/client.mk</pre>
 
checkout source via make
 
<pre>make client.mk checkout</pre>
 
add jssh extension to source
 
<pre>cvs co -D 2006-04-15 mozilla/extensions/jsshcvs checkout: Updating mozilla/extensions/jssh</pre>
 
modify the mozilla/browser/config/mozconfig file with the above extensions modifications.
 
build the package
 
<pre>make client.mk build</pre>
 
python test harness and jssh driver
 
[http://people.mozilla.org/~davel/test_harness_spike/ JSSH Test Harness Spike]
canmove, Confirmed users
1,189

edits