Difference between revisions of "Unit Testing"
Jump to navigation
Jump to search
m (fixed tag) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 19: | Line 19: | ||
** Test::Pod |
** Test::Pod |
||
** Test::LongString |
** Test::LongString |
||
− | ** WWW::Mechanize |
+ | ** Test::WWW::Mechanize |
** Test::File (testing file attributes) |
** Test::File (testing file attributes) |
||
** Test::Mail (tests programs that send and receive mail) |
** Test::Mail (tests programs that send and receive mail) |
||
Line 25: | Line 25: | ||
*(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) |
||
− | [[:Category:Developers]] |
||
+ | ** Apache::Test (http://perl.apache.org/docs/general/testing/testing.html) |
||
+ | |||
+ | == Things to Test == |
||
+ | |||
+ | === Probably easy to start with === |
||
+ | * Permissions |
||
+ | * Database |
||
+ | |||
+ | |||
+ | === Manual Unit Tests === |
||
+ | * [[Preview/Check_Answer/Submit_Answer Button Behavior]] |
||
+ | |||
+ | [[Category:Developers]] |
Latest revision as of 13:55, 21 June 2021
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
- Test::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)
- Apache::Test (http://perl.apache.org/docs/general/testing/testing.html)
Things to Test
Probably easy to start with
- Permissions
- Database