WeBWorK Problems

Efficiently Shaking Down Problem Libraries

Re: Efficiently Shaking Down Problem Libraries

by Boyd Duffee -
Number of replies: 0
> We'd also want the procedure to take the literal text of the displayed correct answer and submit that as an answer, checking that the displayed correct answer at least actually counts as correct.

For something like this, I'd recommend Test::WWW::Mechanize from CPAN which bolts some test harness functionality around WWW::Mechanize, which knows how to login, navigate and scrape webpages. There's a nice technique out there for using your browser to record all the click throughs on the site and playing them back with a WWW::Mechanize script.