This is comment and taxonomy test, no change at all just copy paste. More granular tests let you pick which to run, when running all you can make them more parallel, slower machines do not time out...

CommentFileSizeAuthor
#9 unappaproved.patch1.48 KBcatch
#7 testslices_0.patch18.17 KBcatch
#6 testslices.patch18.17 KBchx
testslices.patch18.17 KBchx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

Component: database system » tests
Category: bug » task
catch’s picture

No time to test now but just a quick note that in #296009: TestingParty08: Comment signatures I moved postComment out to drupal_web_test_case and made the signature test it's own class. I agree with this in general, not sure myself where postComment should live, but worth mentioning.

Damien Tournoud’s picture

I would love to see postComment being part of CommentHelperCase and the Comment signature test be a subclass of that. That would be awesome.

Robin Monks’s picture

Status: Needs review » Reviewed & tested by the community

It seems like a solid patch, and the tests (comment and taxonomy) ran fine, "533 passes, 0 fails, 0 exceptions". Looks good to me. Not sure what will happen with #2 and #3, but, the patch does work.

Robin

Dries’s picture

Status: Reviewed & tested by the community » Needs work

The description of CommentAnonymous is not valid. Other descriptions might need double-checking too.

chx’s picture

Status: Needs work » Reviewed & tested by the community
FileSize
18.17 KB

Fixed the descriptions , and read all of them.

catch’s picture

FileSize
18.17 KB

Fixed a spelling error which was in the original test but not caught by the split. Read through everything and it seems reasonable. There's a lot more cleanup of comment.test could be done - but we can do that in other patches.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

catch’s picture

Priority: Normal » Critical
Status: Fixed » Needs review
FileSize
1.48 KB

Now it's my turn to break tests :(

Call to undefined method CommentApprovalTest::getUnaprovedComment().

Sorry.

Damien Tournoud’s picture

Status: Needs review » Reviewed & tested by the community

Good lord :)

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Hehe. Committed. ;)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.