Electrolysis/Meetings/2009-08-28-testing: Difference between revisions

no edit summary
(Created page with '* test-harness is a "sandbox" for playing with IPDL protocols * testipcshell ** soon to be folded into xpcshell as new JS library functions ** currently have three types of proce…')
 
No edit summary
Line 11: Line 11:
*** would be a bandaid until Mochitests are working
*** would be a bandaid until Mochitests are working
** testipcshell can be used to send commands from the chrome process that check the effect of a previous action. for example:
** testipcshell can be used to send commands from the chrome process that check the effect of a previous action. for example:
### set a preference in chrome using nsIPrefMan (or whatever)
**# set a preference in chrome using nsIPrefMan (or whatever)
### send an ipcshell command to the child process that reads the preference and returns its value to the chrome process
**# send an ipcshell command to the child process that reads the preference and returns its value to the chrome process
### in the chrome process, assert that the value is correct
**# in the chrome process, assert that the value is correct
* need to make mochitests multi-process clean: content tests shouldn't touch chrome
* need to make mochitests multi-process clean: content tests shouldn't touch chrome
** run mochitest-plain tests in content process
** run mochitest-plain tests in content process
Line 31: Line 31:
** enable Breakpad mode that monitors subprocesses
** enable Breakpad mode that monitors subprocesses
** can we gather more information in the case where the sword of Damocles wouldn't be hanging over our head in a SIGSEGV handler?
** can we gather more information in the case where the sword of Damocles wouldn't be hanging over our head in a SIGSEGV handler?
* testing plugins is a very high priority
* priorities
** Josh Aas is best contact
*# testing plugins
** Clint and/or Jonathan might want to join plugin-futures
*#* Josh Aas is best contact
** might soon have new influx of tests; talk to Josh/bsmedberg
*#* Clint and/or Jonathan might want to join plugin-futures
*#* might soon have new influx of tests; talk to Josh/bsmedberg
*# ramping up IPC-enabled xpcshell
*# taking xpcshell tests as far as can go before mochitest is up
*# get mochitest framework running
*# multi-process clean mochitests
*# icing-on-cakes
Confirmed users
699

edits