Dries Buytaert
6a93b9d4c4
- Patch #336043 by c960657: skip calls to curlExec() in curlConnect(). Nice find, c960657\!
2008-11-23 18:12:08 +00:00
Angie Byron
2ea70d6507
#304940 by drewish: Stop SimpleTest from trying to upload non-files.
2008-11-09 03:07:54 +00:00
Dries Buytaert
57d35b7fb1
- Patch #243532 by Damien Tournoud et al: catch notices, warnings and fatal errors during testing. Woop, woop.
2008-11-05 17:06:18 +00:00
Dries Buytaert
dc1af5e290
- Patch #321161 by Damien Tournoud: properly flush cache between tests.
2008-11-05 15:54:56 +00:00
Dries Buytaert
fa94c66c92
- Patch #328719 by c960657: make the module list tests succeed again.
2008-11-01 21:21:35 +00:00
Dries Buytaert
5c3db6511b
- Patch #322779 by Damein Tournoud, cha0s: simpletest calls file_check_directory incorrectly.
2008-10-20 13:06:15 +00:00
Dries Buytaert
967d8f67ac
- Patch #304924 by Damien Tournoud: extend error handler to manage exceptions. I have one exception and one fail.
2008-10-15 16:05:51 +00:00
Angie Byron
f95f58cc05
#320161 by Dave Reid: Fix problems with drupalGetTestFiles() that causes upload.test to break on some systems.
2008-10-12 08:30:05 +00:00
Angie Byron
f76acb2d9d
#282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif.
2008-10-12 04:30:09 +00:00
Angie Byron
a765e882eb
#320127 by matt2000: Fix bug with file_check_directory() being passed a function by-reference.
2008-10-12 03:46:08 +00:00
Angie Byron
0a6b178c96
#316344 by boombatower: Add meta refresh support to SimpleTest to allow programmatically dealing with Batch API and such.
2008-10-09 02:49:36 +00:00
Angie Byron
4c976d51e6
#281446 by xqus, dropcube, and catch: Improve the requirements check for the installer. Awesome.
2008-10-01 00:27:29 +00:00
Angie Byron
a3bb66e4e8
#259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths.
2008-09-20 20:22:25 +00:00
Angie Byron
a4b0bb58a2
#310358 by drewish: Add a test for file_save_upload and clean up file.test.
2008-09-20 07:35:53 +00:00
Angie Byron
89b4c55989
#64967 follow-up by drewish: Replace ereg with preg in file_scan_directory().
2008-09-20 03:49:24 +00:00
Angie Byron
ca858345c6
#255613 by boombatower: Replace old crufty manual cURL call with nice drupalGet().
2008-09-19 02:47:38 +00:00
Dries Buytaert
7f29b14277
- Patch #305645 by pwolanin: ['REQUEST_TIME'] -> REQUEST_TIME. Improved developer experience.
2008-09-17 07:11:59 +00:00
Angie Byron
e3b019f480
#299186 by boombatower: Fix assertFieldByXPath so that it recognizes select and textarea values.
2008-09-17 00:46:44 +00:00
Angie Byron
a7c16d158d
#308186 by chx: Fix tons and tons of test failures in certain versions of cURL.
2008-09-14 06:46:34 +00:00
Angie Byron
ab07b4cd5e
#305077 by DamZ, boombatower, and cwgordon7: Rework SimpleTest backend.
2008-09-10 04:13:01 +00:00
Dries Buytaert
e5b0e5f76c
- Patch #302763 by Dave Reid, Rob Loach: replace time() by ['REQUEST_TIME'] as per Rasmus' suggestion. Removed drupal_referrer() for consistency.
2008-09-06 08:36:22 +00:00
Dries Buytaert
fb9d456450
- Patch #299461 by Damien Tournoud: fixed annoying glitches with assertEqual().
2008-08-30 09:42:25 +00:00
Dries Buytaert
6261c4cad2
- Patch #246261 by pwolanin: simpletest does not handle optgroup correctly
2008-08-30 09:27:21 +00:00
Dries Buytaert
5dee24e73f
- Patch #297894 by boombatower: two new asserts for link checking.
2008-08-23 07:42:54 +00:00
Dries Buytaert
8b00301995
- Patch #298137 by flobruit: drupalCreateContentType() now resets node permissions.
2008-08-22 12:40:32 +00:00
Dries Buytaert
c15bcc0653
- Patch #297869 by boombatower: add xpath method to simpletest and refactor existing tests.
2008-08-22 12:35:55 +00:00
Dries Buytaert
69e6f411a9
- Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7.
2008-08-21 19:36:39 +00:00
Dries Buytaert
0e79597812
- Patch #268148 by obsidiandesign: make the simpletests work on https.
2008-08-18 19:25:52 +00:00
Dries Buytaert
e2825f474b
- Patch #293099 by boombatower: clarify form documentation and error handling.
2008-08-18 18:40:07 +00:00
Dries Buytaert
c639b5135f
- Patch #295564 by boombatower, Damien Tournoud: fixed drupal_http_request error and cleaned up some simpletest stuff. We should have a much more funky 'all tests passed' screen. Having all tests pass shouldn't be this boring. Let's be a bit more creative and injest some fun ... ;-)
2008-08-16 07:31:01 +00:00
Dries Buytaert
db8215e5ec
- Patch #231190 by Dries: drupalHead repeated twice. Oops.
2008-07-18 07:30:34 +00:00
Dries Buytaert
fb3b6d13b8
- Patch #231190 by eli, mfb: page cache didn't work with HEAD requests.
2008-07-17 21:10:39 +00:00
Dries Buytaert
48955b3754
- Patch #253506 by Damien Tournoud, catch, et al: fixed contact.text.
2008-07-05 07:19:31 +00:00
Dries Buytaert
fe06b4ccd8
- Patch #276581 by catch: wrote missing tests for contact module and simplified contact module thanks to that. Also removed some whitespace.
2008-07-02 20:05:11 +00:00
Dries Buytaert
a009417189
- Patch #277586 by chx: call setUp for each test method.
2008-07-02 19:34:13 +00:00
Dries Buytaert
929b2c599c
- Patch #277621 by Damien Tournoud: drupalGet was not working correctly.
2008-07-02 19:20:58 +00:00
Dries Buytaert
d7c32183e5
- Patch #275396 by Moshe: removed some dead code, and added url() options to drupalPost().
2008-06-26 19:31:31 +00:00
Dries Buytaert
9b82787b22
- Patch #243773 by chx, catch, boombatower, yched, dmitrig01, et al: use the batch API for running the tests instead of an all-in-one approach. Great work.
2008-06-24 21:51:03 +00:00
Dries Buytaert
0889c01d21
- Patch #270053 by pwolanin: fixed undefined index.
2008-06-17 01:12:50 +00:00
Dries Buytaert
3020deb421
- Patch #266178 by boombatower: SimpleTest internal browser no longer handles element ids.
2008-06-10 19:39:29 +00:00
Dries Buytaert
ecb032a239
- Patch #151902 by MadHarold et al: a better format_size() (and removed some excessive white space).
2008-06-09 08:11:45 +00:00
Dries Buytaert
caa2e7e1d1
- Patch #267308 by boombatower: check permissions to make sure they are avlid.
2008-06-08 19:09:50 +00:00
Dries Buytaert
5c9d4b9c97
- Patch #253506 by Daniel, flobruit and catch: made the upload tests work.
2008-06-06 10:36:45 +00:00
Dries Buytaert
b87b7c2d01
- Patch #265040 by flobruit: Remove drupalModuleEnable() from simpletest.
2008-06-05 21:55:45 +00:00
Dries Buytaert
d722c96909
- Patch #265498 by boombatower et al: tearDown() doesn't reset the module list.
2008-06-03 19:53:42 +00:00
Dries Buytaert
cccf98aaa0
- Patch #265809 by dropcube: fixed some typos.
2008-06-03 13:45:07 +00:00
Dries Buytaert
24d27b88c7
- Patch #260501 by cwgordon7: made the trigger module tests pass.
2008-06-02 17:39:12 +00:00
Dries Buytaert
ddea5c448d
- Patch #260882 by boombatower: refresh variables after install and page requests. This actually fixes one failure.
2008-05-28 13:11:11 +00:00
Dries Buytaert
25a5bf9fc3
- Patch #261843 by dropcube: tests fail when a response of zero bytes is received.
2008-05-26 17:36:08 +00:00
Dries Buytaert
3bbd9a7fa4
- Patch #260812 by boombatower: add failure message to DrupalWebTestCase->parse().
2008-05-22 19:32:52 +00:00
Dries Buytaert
83601ea040
- Patch #260383 by webchick: better debugging for form errors in simpletest.
2008-05-20 20:28:05 +00:00
Dries Buytaert
a628fe811e
- Patch #246259 by boombatower and saxofaan: enabling/disabling modules doesn't check for failures.
2008-05-16 02:09:22 +00:00
Dries Buytaert
bdf980c40b
- Patch by boombatower: fixed code style of simpletests.
2008-05-10 06:55:09 +00:00
Dries Buytaert
b9f1018ea4
- Patch #73874 by pwolanin: normalize the permissions table and wrote simpletests for the (new) permission handling. At last.
2008-05-07 19:34:24 +00:00
Dries Buytaert
917b27d688
- Patch #252365 by boombatower: clean up the temporary directory that gets creating during the test runs.
2008-04-30 06:45:43 +00:00
Dries Buytaert
2813062be7
- Patch #251631 by chx: fixed behavior of the Drupal web test case with regard to POST and GET operations.
2008-04-28 08:36:06 +00:00
Dries Buytaert
ffc0e93c4e
- Added a test framework to Drupal along with a first batch of tests for
...
Drupal core! This is an important milestone for the project so enable
the module and check it out ... :)
Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
Lal, Moshe Weitzman, and the many other people that helped with testing
over the past years and that drove this home.
It all works but it is still rough around the edges (i.e. documentation
is still being written, the coding style is not 100% yet, a number of
tests still fail) but we spent the entire weekend working on it in Paris
and made a ton of progress. The best way to help and to get up to speed,
is to start writing and contributing some tests ... as well as fixing
some of the failures.
For those willing to help with improving the test framework, here are
some next steps and issues to resolve:
- How to best approach unit tests and mock functions?
- How to test drupal_mail() and drupal_http_request()?
- How to improve the admin UI so we have a nice progress bar?
- How best to do code coverage?
- See http://g.d.o/node/10099 for more ...
2008-04-20 18:34:43 +00:00