Open GoogleCodeExporter opened 9 years ago
What should be tested:
* write permission to all directories (that needs it) and write suggestions
(selinux)
Original comment by horak.honza@gmail.com
on 20 Feb 2011 at 11:36
Original comment by horak.honza@gmail.com
on 29 Sep 2011 at 10:59
How to use test package:
...in package:
bool BasePostPackage::testSuite() {
$tmpPost = new Post(); $tmpPost->title="sdf"; ...
BasePostsController::actionPost($tmpPost);
$ret = TestSuite::checkSmarty("post->title", "sdf");
return $ret;
}
Original comment by horak.honza@gmail.com
on 29 Sep 2011 at 11:07
Base package checks directory access (create and remove tmp files, if old files
have same user/permissions as the created one);
Original comment by horak.honza@gmail.com
on 29 Sep 2011 at 11:09
If variables in templates are standard somehow, then same routines can be used.
Also every package can provide action with some standard input, but not sure if
it is worth.
Original comment by horak.honza@gmail.com
on 29 Sep 2011 at 11:11
Issue 228 has been merged into this issue.
Original comment by horak.honza@gmail.com
on 29 Sep 2011 at 11:12
Interactive tests will be only described.
Original comment by horak.honza@gmail.com
on 1 Oct 2011 at 6:18
Tests should be in separate object and directory:
packages/Basic/tests/BasicAutoTest.php
packages/Basic/tests/BasicInteractiveTest.php
Original comment by horak.honza@gmail.com
on 1 Oct 2011 at 6:21
What to test:
messages
gallery, images
media manager
tinymce editor
db consistency
Original comment by horak.honza@gmail.com
on 5 Oct 2011 at 5:10
Original comment by horak.honza@gmail.com
on 12 Nov 2011 at 9:13
Original issue reported on code.google.com by
horak.honza@gmail.com
on 12 Feb 2011 at 10:26