Difference between revisions of "Unit Testing"

From WeBWorK_wiki
Jump to navigation Jump to search
Line 24: Line 24:
   
 
*(While not a perl module the Mac program Fake can be used to automate testing of a web site)
 
*(While not a perl module the Mac program Fake can be used to automate testing of a web site)
  +
  +
** Apache::Test (http://perl.apache.org/docs/general/testing/testing.html)
  +
  +
== Things to Test ==
  +
  +
=== Probably easy to start with ===
  +
* Permissions
  +
* Database
   
 
[[:Category:Developers]]
 
[[:Category:Developers]]

Revision as of 14:16, 22 September 2011

Create automated tests to insure that WeBWorK is configured and functioning properly.


  • Unit testing tutorials
  • Unit testing modules (Michael Schwern and Andy Lester )
    • Test::Tutorial http://search.cpan.org/dist/Test-Simple/lib/Test/Tutorial.pod
    • Test::Harness
    • Test::More
    • Test::Exception
    • Test::HTML::Lint
    • Test::Simple (frame work for creating test modules)
    • Test::Pod
    • Test::LongString
    • WWW::Mechanize
    • Test::File (testing file attributes)
    • Test::Mail (tests programs that send and receive mail)
  • (While not a perl module the Mac program Fake can be used to automate testing of a web site)

Things to Test

Probably easy to start with

  • Permissions
  • Database

Category:Developers