Skip to content

Tidy needs some test procedures! #330

Closed
@geoffmcl

Description

@geoffmcl

This is an important topic... and needs a champion to solve it!

Several poster have offered some parts of the solution... please read them... 1, 2, 3, and more...

At this moment @vielmetti seems to have the best solution for this, but also like others test solution, certain issues still need to be resolved...

Really we do not want to replace one lame solution with another lame solution, not that the TAP idea is lame! But what do we gain here?

At present a test.t requires that we re-write each test! At what cost for each new test? Wow, is that really necessary? As expressed can we not leverage the files in test/input, and test/testbase?

And it does not yet seem to address that certain issues that need more than a simple exit value test. It needs to compare the previous known tidy output, both the 'message' and the 'html' output, to see if something has changed! And that can depend on the the options used.

The current 327 seems such a case. It seems solved until you add the option --show-body-only yes, when the warning is erroniouly still shown. It should fail with this option. How do we deal with this?

Really we need help on this. Tidy needs a solution for this... but I am sorry, I do not see it yet!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions