Changes

Jump to: navigation, search

Unit Testing

3 bytes removed, 13:23, 24 November 2006
no edit summary
== Project Details ==
* Collected related topics and examples.
** [http://developer.mozilla.org/ MDC]
** [http://www.jsunit.net/ JSUnit]
** [http://wiki.mozilla.org/SoftwareTesting:Extensions:BookmarkTester BookmarkTester ]
** [http://antennasoft.net/robcee Rob Blog]
 
* Learning how to build an extension for fox...
** [http://developer.mozilla.org/en/docs/Creating_a_status_bar_extension Creating a status bar extension]
** [http://developer.mozilla.org/en/docs/Building_an_Extension Building an Extension]
 
* Had read the links from Dave, it's very interesting, it's called test_nodelist.
 
=== October 27, 2006 ===
* Had really hard time on trying to understand how to build and run a test case. This involves the following technologies that I had never learned before:
** XUL
** install.rdf
** chrome.manifest
** Extension Wizard generator
 
=== November 9, 2006 ===
* When I try to run the bookmark tester, I got this error:
** Error: uncaught exception: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: chrome://bookmarkstester/content/testerWindow.js :: <TOP_LEVEL> :: line 134" data: no]
 
=== November 10, 2006 ===
* Fixed exception error, change window.attachEvent("onload", testerWindow.startup(), false) to window.attachEvent("onload", testerWindow.startup, false);
* Trying to get error console working for debugging ...
* [http://developer.mozilla.org/en/docs/DOM:window.dump dump], setting the preference browser.dom.window.dump.enabled to true in Firefox, then start FF in console: -console
* [http://developer.mozilla.org/en/docs/DOM:window DOM:window]
=== November 1912, 2006 ===* The first source code can be download here [httpTry to find most function calls in Firefox, cannot get it work.* Try to display the firefox console for debugging ,the Firefox 2 cannot brings up console when I tried to user command://paulgufirefox.com/download/mozilla/bookmarkstesterexe -console.xpi bookmarkstester]In error console from the firefox menu, it displayed an error message: cannot recongnize the command -console.
=== Spent a whole day on trying to debug firefox APINovember 18, 2006 ===* There two very good references here for MOZ developing** http://kb.mozillazine.org/Setting_up_extension_development_environment** http://kb. no documentationmozillazine.org/Dev_:_Useful_prefs** http://ted.mielczarek. man ===org/code/mozilla/extensiondev/
=== November 19, 2006 ===
[[image:bookmarks manager after.jpg]]
* Spent a whole day on trying to debug firefox API... no documentation... man ===
=== November 1820, 2006 ===* There two very good references The first source code can be download here for MOZ developing** http://kb.mozillazine.org/Setting_up_extension_development_environment** http://kb.mozillazine.org/Dev_:_Useful_prefs** http://ted.mielczarek.org/code/mozilla/extensiondev/ === November 12, 2006 ===* Try to find most function calls in Firefox, cannot get it work.* Try to display the firefox console for debugging ,the Firefox 2 cannot brings up console when I tried to user command: firefox.exe -console. In error console from the firefox menu, it displayed an error message: cannot recongnize the command -console. === November 10, 2006 ===* Fixed exception error, change window.attachEvent("onload", testerWindow.startup(), false) to window.attachEvent("onload", testerWindow.startup, false);* Trying to get error console working for debugging ...* [http://developer.mozilla.org/en/docs/DOM:window.dump dump], setting the preference browser.dom.windowpaulgu.dump.enabled to true in Firefox, then start FF in console: -console* [http:com/download/developer.mozilla.org/en/docs/DOM:window DOM:window] === November 9, 2006 ===* When I try to run the bookmark tester, I got this error: ** Error: uncaught exception: [Exception..bookmarkstester. "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: chrome://xpi bookmarkstester/content/testerWindow.js :: <TOP_LEVEL> :: line 134" data: no=== October 27, 2006 ===* Had really hard time on trying to understand how to build and run a test case. This involves the following technologies that I had never learned before:** XUL** install.rdf** chrome.manifest** Extension Wizard generator
* Had read the links from Dave, it's very interesting, it's called test_nodelist.
 
* Learning how to build an extension for fox...
** [http://developer.mozilla.org/en/docs/Creating_a_status_bar_extension Creating a status bar extension]
** [http://developer.mozilla.org/en/docs/Building_an_Extension Building an Extension]
 
* Collected related topics and examples.
** [http://developer.mozilla.org/ MDC]
** [http://www.jsunit.net/ JSUnit]
** [http://wiki.mozilla.org/SoftwareTesting:Extensions:BookmarkTester BookmarkTester ]
** [http://antennasoft.net/robcee Rob Blog]
== Project News ==
1
edit

Navigation menu