It is then up to the user to validate this reply.
I think I can refactor my module into "crafting" subs and "transport" subs and test the "crafting" subs to see they conform to the OAuth standards en then test the "transport" layer only in case the user has provided his IDs and secret codes through some ENV-variables.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial DeltronicsIn reply to Re^2: Flickr OAuth module and testing
by CountZero
in thread Flickr OAuth module and testing
by CountZero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |