Hello,

In a previous bug issue, I did put some unit testing in a patch file. After some modifications, and a lot of new patch versions, you finally commited a patch whithout those unit tests.

I'm going to add them back in this issue, in their own patch file.

Because those day, I do a lot of patches for this module, I will, for each of them, do some associated unit tests in order to avoid biggest regression. I will be glad that if you kept it, there are really useful if there are seriously completed at each new patch.

Comments

pounard’s picture

Ok, so you attached the tests, but moved them in the module root directory, see patch attached there: #867216: Node view page alteration which puts them back into a tests subdir.

bengtan’s picture

Status: Active » Closed (won't fix)

Hi,

Actually, I don't use those unit tests you supplied. I just included them from a previous patch because they didn't seem to break anything and they look possibly useful, but I've never used them myself :)

If you want them modified, then that's fine by me.

So, is this still an open and valid issue then?

pounard’s picture

If you apply the other patches I did for you (such as #867216: Node view page alteration) then you can close this issue, because they embed some new unit test, and move the existing one (that comes from one of my patches) in a tests/ subdir.

I think this is a long term issue, I mean that tests should be provided for each new feature, and I can help you writing them, if you are not comfortable with SimpleTest.