I'm writing some testing code on a Drupal 6 project, and I can't believe how slow these tests seem to be running, after working with other languages and frameworks like Ruby on Rails or Django.Drupal.org thinks this question is spam, and won't give me a way to prove I'm human, so I figured SO is the next base place to ask a question like this, and get a sanity check on my approach to testing.The following test code in this gist is relatively trivial. http://gist.github.com/498656In short I am:
- creating a couple of content types,
- create some roles,
- creating users,
- creating content as the users,
- checking if the content can be edited by them
- checking if it's visible to anonymous users
- 4gb of ram,
- 2.2ghz Core 2 Duo processor,
- PHP 5.2,
- Apache 2.2.14, without any opcode caching, Mysql 5.1.42 (Innodb tables are my default)
- A 5400 RPM laptop hard drive