Log of /contributions/modules/simpletest_automator/simpletest_automator.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 19 10:56:44 2007 UTC
(2 years, 2 months ago)
by
chx
Branch:
MAIN
Changes since
1.10: +24 -11 lines
Diff to
previous 1.10
Add the JS for the first click
Record the redirect URL and do not drupalGet it
Remove form_id because that's a hidden
First steps to remove hiddens and buttons from the post (not done yet)
Permission and role cleanup delete works
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 18 17:52:01 2007 UTC
(2 years, 2 months ago)
by
chx
Branch:
MAIN
Changes since
1.9: +83 -37 lines
Diff to
previous 1.9
Steven asked about string escaping which led to a massive code cleanup -- now we var_export(, TRUE) even strings.
Do not record the Stop click.
Remove leftover, not working message assert code block.
Added machine readable name, human readable name, description
Added PHP / SimpleTest header
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 17 18:04:07 2007 UTC
(2 years, 2 months ago)
by
chx
Branch:
MAIN
Changes since
1.5: +89 -50 lines
Diff to
previous 1.5
Do not record the automator start and stop pages.
Add a JS by kkaefer which records the clicked links. Do not record the $_GET['q'] of clicked links.
Use absolute URLs for the few remaing drupalGet calls.
Move the messages capture into a block -- template_prepocess_page fires before phptemplate_engine_preprocess_page and it erases the messages. However, blocks are fired from template_prepocess_page earlier than the messages collect/prune.
Roll back the raw POST trick because it's not available with multipart/form-data like node forms
Change the assert messages to be the actual asserts.
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 17 00:55:06 2007 UTC
(2 years, 2 months ago)
by
chx
Branch:
MAIN
Changes since
1.4: +1 -4 lines
Diff to
previous 1.4
we record every visited page as it's possible that unsubmitted forms contain information previously entered
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Sep 16 11:19:56 2007 UTC
(2 years, 2 months ago)
by
chx
Branch:
MAIN
This module helps in creating simpletests. Here is what the module does:
* lets you create a user with given permissions.
* switches you over to be that user
* records the pages you visit
* saves form submissions into a file
* adds assertions made from the content of the result -- not the blocks, just the content itself.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.