Groups
Groups
Sign in
Groups
Groups
Joomla! Framework Development
Conversations
About
Send feedback
Help
UT: Perhaps extend the base phpunit classes?
1 view
Skip to first unread message
Paladin
unread,
Nov 24, 2009, 11:01:14 AM
11/24/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Joomla! Framework Development
There are some common methods I've found useful in my testing so far,
so useful that I'm thinking of extending the phpunit classes to
include them:
saveFactoryState: copies the pointers from JFactory into a holding
array
restoreFactoryState: copies the saved pointers back into JFactory
saveErrorState: copies the error handling info from JError into a
holding array.
setErrorState: Sets JError error handling info to a given array.
While I'm noodling around with that idea, are there any objections to
it? Any other methods you're finding useful that it could benefit us
to add?
Ian MacLennan
unread,
Nov 24, 2009, 11:14:41 AM
11/24/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to joomla-dev...@googlegroups.com
I think defining a DSL is a great idea. I've done the same for the Selenium stuff.
Ian
Reply all
Reply to author
Forward
0 new messages