Closed (fixed)
Project:
FeedAPI
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2008 at 14:06 UTC
Updated:
1 Jul 2009 at 14:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
Arto commentedSimpleTest 2.x broke compatibility with many older unit tests, hence why this is not showing up. Somebody needs to refactor the tests and submit a patch.
Comment #2
Arto commented(In other words, if you downgrade to SimpleTest 6.x-1.x, the FeedAPI node unit tests should show up just fine.)
Comment #3
Arto commentedComment #4
greg.harveyThanks - I don't think I'll have time to write the patch, I'm afraid... too much on at the moment. But I'll use SimpleTest 1.x to test the above issue. =)
Comment #5
lyricnz commentedHere's a patch for feedapi_node.module.test that updates for SimpleTest 6.x-2.x. Right now it delivers
110 passes, 0 fails, and 2 exceptions
Those two exceptions are caused by #449198: SimpleTest: Clean up test loading and related API which is waiting for a backport from D7.
Comment #6
lyricnz commentedUpdate patch to remove legacy get_info()
Comment #7
aron novakI received this:
I tested with SimpleTest 6.x-2.8 and 6.x-2.x-dev also.
Any guess what's going on?
Comment #8
aron novakI renamed the class to FeedAPITestsCase and other, more serious errors appeared (now the processing of the test starts)
Comment #9
aron novaklyricnz, can you confirm that the patch below works sane at your test site as well?
There are some ugly exceptions, but overall, all the tests should pass.
Comment #10
lyricnz commentedReply to #7; That warning is the one I refer to above : fixed in HEAD waiting for a backport to D6 simpletest. I don't know why it didn't find your tests, my "110 passes, 0 fails, and 2 exceptions" was cut'n'paste from the testing output.
Comment #11
lyricnz commentedReply to #9: 339 passes, 0 fails, and 0 exceptions
(simpletest 6.x-2.8)
Comment #12
aron novaklyricnz: thank you for the test, i committed the patch.