On 3/2/06, James Taylor <james(a)bx.psu.edu> wrote:
Can't we mock it though? Run the tool but don't actually have
anything to ENCODE db, instead intercept what would be sent and make
sure it looks good, then send back a pre-canned response.
Yes we can mock it, though this one is more complicated to properly emulate.
If I recall it correctly, to cover it fully it would need to receive
two responses, once to create the data, then later get a second
request to inform it about the location of the download, then allow
the system to connect to this location to fetch the data,
On the other hand, even partial tests would help to catch many errors
like the ones we just had.
Bioinformatics Consulting Center,
Huck Institute for Life Sciences,
Pennsylvania State University