Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedNo. It is out dated.
Comment #2
Hanno CreditAttribution: Hanno commentedGood 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?
Comment #3
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedI'm not sure but as far as I remember it is from d6 and could be relatively compatible with simpletest.
Comment #4
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedComment #5
Hanno CreditAttribution: Hanno commentedI'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.
Comment #5.0
Hanno CreditAttribution: Hanno commented.
Comment #6
djdevinThis 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.