Testing and Quality Assurance

Welcome to the group for the plumbers who keep the community plumbing from leaking. ;)

Testing frameworks such as SimpleTest and Selenium, automated testing, and general community QA initiatives are all on-topic here.

Manual testing is also totally on-topic.

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!

carlescliment's picture

[DrupalCamp Spain 2012] Conociendo Symfony 2 a través de TDD

Start: 
2012-10-21 12:00 - 15:30 UTC
Organizers: 

(Taller que se desarrollará en la Drupal Camp Spain 2012)

En este taller resolveremos una kata sencilla con el ciclo típico de TDD pero desde una perspectiva outside-in (BDD).

Read more
e3g's picture

Automated testing of clicking in a Google map in a Drupal site?

I'm writing up a bunch of tests as scenarios in Behat/Mink for an application written in D7 that has a gmap/Google map as its central purpose. I want to automate at least one test of clicking on a map pin to see if a popup window appears.

Unfortunately this map's pins don't have a standard A HREF link which would get detected by "follow" or "press" -- at least that I can tell. The pin markup looks like:

Read more
casivaagustin's picture

PHPUnit for Drupal 6 ( and soon 7)

Hi Folks, I'm working in a module to run Unit Tests in Drupal with PHPUnit.

Actually the project is in a Sandbox state and is current development, but I wanna receive some feedback, opinion, suggestions, critics, features request, etc.

If anyone is interested in more data please put in contact with me.

http://drupal.org/sandbox/casivaagustin/1678226

Thanks and Regards

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
alberto56's picture

Testing your upgrade path

Hi all,

I wrote a blog post about testing contributed modules' upgrade and update paths:

http://www.koumbit.org/en/articles/automatic-testing-your-drupal-update-...

As I haven't found a lot of information about this on the web, any comments and suggestions would be greatly appreciated. I'd also like to know if any of you do this, and how you go about it.

Cheers,

Albert

TravisCarden's picture

Help me build the ultimate QA checklist (module)

Some of you may be familiar with the QA Checklist module. (Try a demo.) It provides a list of modules to install and best practices to follow when building and deploying a Drupal site, and it tracks your progress against it. It's kind of a pre-flight checklist, and though somewhat rudimentary, it's helpful—especially for inexperienced site builders.

Read more
Testerok's picture

Drupal QA cheklist

I make checklist, but i don't confident this list is right,

Drupal QA
Cheсklist
Functional
Security
Load & Performance
Localization
Usability

1.Functional
check functional on server phpmail, and other functions and apps for server
check watchdog
check version module drupal.org on site.
test developer modules (write test by simple test).
Automated Functional Testing Selenium , Windmill etc

2.Security
check configure on server (rewrite for module, files private etc), security file permission
check security review, (drupal module)
delete files in “/”

Read more
casivaagustin's picture

Drupal Unit Testing over Windows

Hi there, I'm using Windows 7, IIS, PHP 5.3.10 nts running with FastCGI, SQL Server 2008 R2 with PDO 2.0 drivers for windows to run Drupal.

I'm suffering a very slow behavior running the Drupal Tests, never ends to run the tests, the others parts of the site works fine.

Any thought about what may is happening ?

kasperg's picture

Jenkins and Phing templates for continuous integration

We've been working on implementing continuous integration for our projects to improve code quality. In the process we've built two templates which should make it easy to setup CI for new projects and want to share these with the community. Hopefully you'll find it useful!

Read more
al.ex's picture

Behavior Driven Development with Drupal – Behat module released

Hi there Testing group!

I'm happy to announce the release of the Behat integration module which allows developers to write tests for a Drupal site (or module) in "BDD"-style. BDD is a methodology for writing software features "outside in", i.e. using plain language to describe a feature's behavior first and the actual test code second. Find more information on BDD at http://bdd.alexo.it.

Read more
alberto56's picture

Testing integration with non-dependencies

Hi all,

Say I have a module A, which has some features which work with module B, but module B is not a dependency.

To test said features, I create a whole new "Test A B" module whose sole purpose is to have module A and module B as a dependency, and run tests against features which require both. "Test A B" module is stored in the "tests" subfolder of module A.

Wondering if that's the best approach, and if you are using any others.

Thanks,

Albert.

pavel.karoukin's picture

Testing against third-party DB

Hello,

I am developing module which provides integration with another software. I am using different "target" in settings.php to access DB for this third-party application.

Now if I write test, I need to have this target defined in test case too. Right now I am defining it manually via Database::addConnectionInfo in setUp() method, but this is not portable..

Any ideas how to do such type of testing?

Regards,
Pavel

Defining the Drupal 8 testing gate

Hi there, testing team! :)

Back at DrupalCon Chicago, Dries outlined a strategy for Drupal 8 involving a series of "gates" that would help ensure core code quality in a number of different categories: Documentation, Performance, Accessibility, Usability, and Testing. The purpose of gates is to define essentially a set of "checkboxes" which outline the most important aspects to each category, and does so in a way that is both not overwhelming to core developers (list of hoops to jump through is kept as small as possible) and also creates very little additional burden on the team in question (contains sample links to documentation/resources so developers/reviewers can help themselves).

Since we have already traditionally had requirements around documentation, it made sense to start there. Jennifer Hodgdon and some other folks from the documentation team have put together the Documentation gate, which is available at http://drupal.org/node/1203498. What we need is a similar table for each of the other gate areas. And that's where you come in! :D

Read more

PHPUnit testing in relation to Drupal. An overview.

Several efforts have been made to create a workable way of PHPUnit testing into drupal development. It goes back several years, but it's still actual. Information about PHPUnit and Drupal is heavily distributed on d.o and other sites. Here's a list (not exhausting) of discussions, projects, etc. Purpose of this list is to have a reference of what has been done, tried, etc before. Please feel free to bring in more...

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
rfay's picture

Outstanding Progress on Selenium/Simpletest Integration

I want to make sure that everybody in these groups knows about the fantastic simpletest + selenium integration work that ygerasimov has been doing. I just tested out his Selenium module (7.x) and it worked fine for me.

Here's what I did:

  1. Install Selenium module and start Selenium Server as described in the INSTALL.txt.
  2. Installed the Selenium Test Example sandbox for sample tests.
Read more

Building Selenium Tests for Drupal.org

The steps involved in taking forward the Selenium test for Drupal.org initiative:

Link to drupal.org issue queue: http://drupal.org/node/991040

  • Identifying a groups of people interested in building Selenium test-cases
  • Working on Identifying critical tests
  • Writing tests
  • Working with the infrastructure team to run these tests

If you are interested in building Selenium tests and supporting the same, please add you name and the area of support.

Implementers:

Read more
peter_magnaye's picture

Web developer | Microfinance Information Exchange, Inc.

Employment type: 
Contract
Telecommute: 
Allowed

Microfinance Information Exchange - Web Developer position

We are looking for a developer to join our industry-leading technical team. That developer will work with our team of expert analysts to produce and maintain the reference tools for the microfinance world.

Microfinance Information Exchange (MIX) is a non-profit that collects and exposes data about the global microfinance industry. We believe that greater transparency will lead to helping the poorest of the poor rise from their station. Learn more about us at http://www.themix.org.

Read more
ezraw's picture

Load Tester | DLC Solutions

Employment type: 
Contract
Telecommute: 
Allowed

Hi all,

We have a client that is looking for a company to provide stress testing services for a web application. Any recommendations would be passed on directly to the client.

Experience working with and tuning LAMP/Drupal would be a big plus as they have limited staff experience in this area.

Please contact me through the contact form. Thanks!

Ezra Wolfe
DLC Solutions LLC

Subscribe with RSS Syndicate content

Testing and Quality Assurance

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: