Commit Graph

367 Commits (2f6d62343551c3aae79061157520355f7971854f)

Author SHA1 Message Date
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 f50062676e - Patch #254758 by flobruit and me: remove inline CSS style from simpletest. 2008-05-10 07:46: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 2e18cb8924 - Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al.  Can you say 'registry'?  Drupal now maintains an internal registry of
  all functions or classes in the system, allowing it to lazy-load code files as
  needed (reducing the amount of code that must be parsed on each request). The
  list of included files is cached per menu callback for subsequent loading by
  the menu router. This way, a given page request will have all the code it needs
  but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert c100468cf2 - Patch #251473 by webchick, chx, et al: one step closer to running tests in the includes directory. Not working yet. 2008-05-06 11:21:10 +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 bc8a2b23da - Patch #251550 by ksenzee: simpletest requires curl so make sure to add a requirements check. 2008-04-28 09:30:35 +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 21576021bf - Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6. 2008-04-23 20:01:56 +00:00
Dries Buytaert 63406e5268 - Patch #250056 by dmitrig01: if all the checkboxes in a checkbox group are checked on page load, the check all box isn't checked, which is should be (because all sub-boxes are checked). 2008-04-23 18:50:49 +00:00
Dries Buytaert c863246b51 - Patch #249629 by chx, flobruit: made drupal_test_case() reusable and improve the SimpleTest documentation. 2008-04-23 17:49:50 +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
Dries Buytaert af474609e3 - 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:24:07 +00:00