Warning: This message has had one or more attachments removed
Warning: (pluto-test-console.tmp).
Warning: Please read the "Songbird-Attachment-Warning.txt" attachment(s) for 
more information.

I've extended my unit tests to activate the various test links contained on the
testsuite front page, and for the most part I'm getting similar results to those
I get when activating the test cases manually through a browser.  I haven't
(yet) attempted to automate the manual tests, though I may come back to that
later, so as far as they're concerned, I just check that the "MANUAL TEST"
response comes back from the portlet.

The one case where I have noticed a discrepancy between the "real" Pluto
deployment and the unit tests is test Id 10, "Misc Test", which passes in the
real deployment but fails in the unit test environment.  Other tests that fail
(for me) in both environments are:
[[
doPlutoTestcase(7,"Simple Preference Test", "FAILED",
"http://localhost:8080/pluto/portal/__ac0x3testsuite0x2TestPortlet1?&testId=7";);

doPlutoTestcase(12,"Resource Bundle Test", "FAILED",
"http://localhost:8080/pluto/portal/__ac0x3testsuite0x2TestPortlet1?&testId=12";);
]]

In case it helps, I attach a debug/console llog from the full test run.  Each of
the Pluto testsuite test case executions is indicated by a DEBUG message along
the lines of:
[[
DEBUG - doPlutoTestcase: 0: Simple Render Parameter Test
]]

This unit test work isn't complete, but I think I've done enough to show that
it's possible, and created the beginnings of a unit test framework.  For my own
work, I need to move on (to WSRP testing).  I need to get permission to release
the source code of my unit tests, but I'm hoping that will be forthcoming
without any problems.  Meanwhile, a textual descrtiption of what I've done is 
here:
  http://wiki.oss-watch.ac.uk/PlutoNotes

#g

-- 
Graham Klyne
Research Technology Service
Oxford University Computing Services
This is a message from the MailScanner E-Mail Virus Protection Service
----------------------------------------------------------------------
The original e-mail attachment "pluto-test-console.tmp"
is on the list of unacceptable attachments for this site and has been
replaced by this warning message.

If you wish to receive a copy of the original attachment, please
e-mail helpdesk and include the whole of this message
in your request. Alternatively, you can call them, with
the contents of this message to hand when you call.

At Mon Dec 12 09:23:45 2005 the virus scanner said:
   MailScanner: Dangerous attachment according to Microsoft Q883260 
(pluto-test-console.tmp)

Note to Help Desk: Look on the Songbird (sb7.songbird.com) MailScanner in 
/var/spool/MailScanner/quarantine/20051212 (message jBCHNfIG024900).
-- 
Postmaster
Songbird
www.songbird.com/mail

MailScanner thanks transtec Computers for their support

Reply via email to