Support from Acquia helps fund testing for Drupal Acquia logo

Comments

djdevin’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, quiz--psr0-test-cases.patch, failed testing.

thehong’s picture

Status: Needs work » Needs review
FileSize
96.68 KB

Status: Needs review » Needs work

The last submitted patch, 3: quiz--psr0-test-cases.patch, failed testing.

thehong’s picture

I am not sure what's different, but the Drush test runner working fine for me

$ drush test-run --dirty --field-labels=0 'Quiz'
Starting test Drupal\long_answer\Tests\LongAnswerUnitTest.                        [ok]
Long answer 115 passes, 0 fails, 0 exceptions, and 30 debug messages         [ok]
…
djdevin’s picture

Try with scripts/run-tests.sh, that is the test runner that the drupal.org testbot runs.

I'm not entirely sure you can use PSR0 in Drupal 7 without adding to the files[] directive.

thehong’s picture

djdevin’s picture

Status: Needs work » Postponed

Unfortunately we can't commit this until that makes it into D7 core.

thehong’s picture

Assigned: Unassigned » thehong
Status: Postponed » Needs work
djdevin’s picture

Someone should probably update those issues...

I don't see a pressing need for this, however if you can get it to work on d.o testbots I'll gladly commit.

thehong’s picture

Status: Needs work » Closed (fixed)

I will try when I have other chance.

thehong’s picture

Status: Closed (fixed) » Closed (won't fix)