We tried to run the testscripts (.test) included with the module, but it fails at the setup 'LongAnswerUnitTest->setUp()' trying to enabling the modules. Are the unit tests of the Quiz module still up to date?

Comments

Sivaji_Ganesh_Jojodae’s picture

Component: Code - Short/long answer » Code - Quiz core

No. It is out dated.

Hanno’s picture

Good to know! How outdated? Is it code from Drupal 6, or Drupal 7, and might it be still compatible with Simpletest, or does it need a rewrite both for Simpletest as Quiz?

Sivaji_Ganesh_Jojodae’s picture

I'm not sure but as far as I remember it is from d6 and could be relatively compatible with simpletest.

Sivaji_Ganesh_Jojodae’s picture

Category: bug » feature
Status: Active » Closed (works as designed)
Hanno’s picture

Category: feature » bug
Status: Closed (works as designed) » Active

I'm not sure if the tag 'works as designed' and feature request is the best tag as this functionality and code is in the module and available in the UI, but broken at the moment. We could remove it, repair it or disable this code.

I'm in favor of repairing as it is great to have unit testing available for releases and could try to work on a patch. I checked and it need some updates, but no radical changes.

Hanno’s picture

Issue summary: View changes

.

djdevin’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This issue is being closed because it was filed against a version that is no longer supported.

If the issue still persists in the latest version of Quiz, please open a new issue.