Unit Testing: Difference between revisions

From WeBWorK_wiki
Jump to navigation Jump to search
No edit summary
m (fixed tag)
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:




*Unit testing tutorials (Michael Schwern and Andy Lester )
*Unit testing tutorials  


** Andy Lester  http://perlbuzz.com/
** Andy Lester  http://perlbuzz.com/
Line 10: Line 10:
** http://petdance.com/perl/adding-testing-to-existing-projects.pdf
** http://petdance.com/perl/adding-testing-to-existing-projects.pdf


* Unit testing modules
* Unit testing modules (Michael Schwern and Andy Lester )
** Test::Tutorial http://search.cpan.org/dist/Test-Simple/lib/Test/Tutorial.pod
** Test::Tutorial http://search.cpan.org/dist/Test-Simple/lib/Test/Tutorial.pod
** Test::Harness
** Test::Harness
** Test::More
** Test::More
** Test::Exception
** Test::Exception
** Test::HTML::Lint
** Test::HTML::Lint
** Test::Simple (frame work for creating test modules)
** 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)


** Test::Pod
*(While not a perl module the Mac program Fake can be used to automate testing of a web site)


** Test::LongString
** Apache::Test (http://perl.apache.org/docs/general/testing/testing.html)


** WWW::Mechanize
== Things to Test ==


** Test::File (testing file attributes)
=== Probably easy to start with ===
* Permissions
* Database


** 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)
=== Manual Unit Tests ===
* [[Preview/Check_Answer/Submit_Answer Button Behavior]]


[[:Category:Developers]]
[[Category:Developers]]

Latest revision as of 18: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)

Things to Test

Probably easy to start with

  • Permissions
  • Database


Manual Unit Tests