Skip to content

Suggestions and requirements for automating the test infrastructure #261

Closed
@vielmetti

Description

@vielmetti

There is a whole set of test cases in https://github.com/htacg/tidy-html5/tree/master/test, and some scripts there to start to automate the test process. There could be more.

What I'm interested in is modernizing this test infrastructure. One possibility is to use something that uses TAP - see http://testanything.org/producers.html for a whole range of tooling - including tools that run in Windows.

TAP output looks like this:

1..4
 ok 1 - Input file opened
 not ok 2 - First line of the input valid
 ok 3 - Read the rest of the file
 not ok 4 - Summarized correctly # TODO Not written yet

A tool that I have used on a different project is bats at https://github.com/sstephenson/bats which is installable on Linux and OS X from within Travis and that runs as simple bash scripts that should be suitably easy to handle.

That all said, if anyone has strong feelings about automated testing, please speak up.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions