simpletest

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
fengtan's picture

Jenkins plugin

Here is a Jenkins plugin to automate code reviews and tests on Drupal: https://github.com/fengtan/drupal-plugin

Code review is based on Coder Review ; tests are based on core Simpletest.

Read more
emjayess's picture

Running tests... expected fails

We're using @perusio's drupal-with-nginx as our baseline configuration, and have an initiative to beef up our testing and test automation infra. Running tests from some or all of the test suite produces a healthy number of fails... many/most of which are to be expected, given the configuration.

Read more
firebird's picture

Tests failing after a core patch changed the database

Hi all

I've just committed a patch (http://drupal.org/node/1495510) to the core Taxonomy module. The patch includes an addition of a database column. The automated tests fail, seemingly because the database that the tests are being run on doesn't have the extra field: http://qa.drupal.org/pifr/test/373168

Is that what's happening? If not, what's going on? Is there a way to make the tests pass?

Thanks!

Read more
Ghostthinker's picture

Testing complex node access logic

Background

I try to create an automated test for my drupal 7 site to test my rather complex access logic. I am using features, git and drush and a couple of shell scripts for staging. Works great.

My site involves a node access control based on several facts. I wrote a custom module (actually a feature) to create the workflow rules (other workflow module were not fitting my needs)

  • workflow_state (custom field)
  • workflow history
  • global roles
  • organic group roles
Read more
JWSmith's picture

Drupal Continuous Integration with Jenkins.

Please check out our new SlideShow of setting up and configuring a Jenkins Continuous Integration server for use within a Drupal development environment. We walk you through the steps of installing Ubuntu 10.04 LTS, Jenkins, Drush and several other PHP coding tools and Drupal Modules to help check your code against current Drupal standards. Then we walk you through creating a git post-receive script, and Jenkins job to pull it all together. Its available here http://www.slideshare.net/kg4san/drupal-continuous-integration-with-jenkins.

Read more
mrchrisadams's picture

Are there ANY Drupal developers using Simpletest routinely in their development in London

Hi guys,

I've signed up to the Drupal meetup for this coming Monday at the Square Pig, and I'm sure I'll find someone to talk about this there too, but I'd love to know - are there ANY drupal dev shops using Simplest as part of their workflow in the UK?

I've been working with Drupal professionally for about a 12-18 months now, and I've worked with about 10 freelancers on various drupal related projects, and I haven't been able to find anyone who uses testing as part of their workflow.

Read more
mrchrisadams's picture

What is the state of unit testing with Drupal today?

Hi there,

I'm coming back to Drupal after a brief hiatus, and although I've looked around, I can't seem to find any up to date information about how best to unit test Drupal (I'm using D6 for now, but I haven't found anything for D7 either).

I'm asking about Unit testing, because my [previous experiments with Integration Testing seemed unusably slow][1], and although there is this [article here on lullabot][2], it's about 4 years old now, and it seems somewhat out of date.

Read more
dasjo's picture

Simpletest with multilingual sites

i am using simpletest with a multilingual drupal 6 site. whenever simpletest executes a link, by using clickLink or drupalLogin for example, the url gets corrupted.

this is because the language code always appears twice in the url. for example: http://example.com/de/de/node.

i was wondering if someone else ran into this issue when testing a multilingual site with simpletest? do you know of any workarrounds / fixes to this issue? (http://drupal.org/node/944066)

thanks a lot,
josef

Read more
globallyunique's picture

SimpleTest Help

Is there any site or group where it is appropriate to post questions about using SimpleTest? I'm currently struggling with SimpleTest performance on Windows. A DrupalWebTestCase takes many minutes to execute and I can't figure out if this is expected or what to start changing. I'd like to find somewhere that people have described how they've setup their Drupal environment to do TDD.

Read more
globallyunique's picture

SimpleTest, Module Debugging, Dev Environment

I'm new to Drupal and trying to setup my module development environment so I can do Test Driven Development similar to frameworks I usually work with , e.g., Rails, Java, .Net. In particular I'm struggling with how to get my SimpleTests to run faster, how to run SimpleTests from the command line or via an continuous integration setup, how to setup the debugger in Eclipse, and other things to make my dev environment effective.

Read more
Subscribe with RSS Syndicate content