TestGen4Web from SVN (or howto start contributing to it)

Yes, this is “from svn”, but first we need to install the current release and then replace it by the code from svn (there must be a better way of doing this, but this works). Go to

http://developer.spikesource.com/frs/?group_id=14&release_id=71

download and install the latest version (0.41.1-beta). This will create a directory {3c20433a-61bc-42fe-831d-415860e17283} under ~/.mozilla/firefox/vllrmpro.default/extensions (or wherever else your firefox extensions are kept).

Now we have to replace this directory by the TestGen4Web code from SVN. First, though, you’ll need an account at SpikeSource (yes, just to check the thing out; go figure).

Done that, choose a directory where you want to keep that code and check it out from SVN (mine is ~work/):

cd ~/work
svn co http://scm.spikesource.com/testgen4web

This will create a “testgen4web” directory in the chosen directory. Now we replace the old directory by a link to our checked out code:

cd ~/.mozilla/firefox/vllrmpro.default/extensions
rm \{3c20433a-61bc-42fe-831d-415860e17283\} -f
ln -s ~/work/testgen4web/extension \{3c20433a-61bc-42fe-831d-415860e17283\}

[If you're on Windows, emptying out the original directory and copying the contents of testgen4web/extension/ into it should work]

Well, that’s it, basically. Now you go around coding and changing things and, after you’re done, save your files and restart Firefox. It comes up again with your new code loaded automatically. Pretty cool, huh?

You can find more resources about TestGen4Web at:

http://developer.spikesource.com/wiki/index.php/Projects:TestGen4Web

Please drop a comment if you run into any problems while trying to do the above.

Happy Hacking ;-)

Posted in Uncategorized. Tags: , , , , , , , . Leave a Comment »

Leave a Reply