R. Clayton (rclayton@monmouth.edu)
(no date)
How can I test test program 3a from an off-campus computer?
If you have a browser, you can set it to use your assignment as a proxy. If
you don't have a browser, you can download lynx, either in binary or source
form, and use that. If you don't want to download a browser or you don't have
an Internet connection, then you'll have to download some pages at school
(using either a browser (lynx -source is probably the easiest way) or your
version of get-page) and bring them to your system. Then you'll have to write
a test harness that reads a page from a file and stores it in a resource data
structure. From there you can just call mitm() with your newly manufactured
resource.
There are some other ways you can test your code that don't involve web pages
(see my solutions for examples), but whatever testing you do, I recommend it
include running your code over real data.
This archive was generated by hypermail 2.0b3 on Mon Dec 15 2003 - 19:45:06 EST