Testing - rickatech/mytake GitHub Wiki

Experimental

Simple stub code for unit testing is supported as of 2016. Pull down latest mytake code, change into mytake directory, then just invoke phpunit. It should automatically run test scripts that are in the tests sub-directory.

$ cd mytake

$ phpunit

  PHPUnit
  .
  Time: 812 ms, Memory: 4.00Mb
  OK (1 test, 1 assertion)

Smoke Testing

Quick manual checks after setting up a new instance or making non-trivial changes.

  • Home Page renders okay, the key image icon is present.
  • Signup/Activation work - both copying and pasting activation code or clicking the activation link.
  • Upon login, the default profile images should be present and correct.
  • Change password works.