Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

testasciidoc could compare output with a reference snapshot #30

@florentx

Description

@florentx

(from #25)

I discovered this limitation: doing tests/testasciidoc.py update then tests/testasciidoc.py run with the same revision is slow and dumb: it controls that the output is identical when running asciidoc twice.
This is the intended behavior as explained here: http://asciidoc.org/testasciidoc.html#_rationale
It is acceptable when running the tests manually while developing new features but it's not compatible with the continuous integration approach.
We need to think more about this.

I see 2 solutions so far:

  • running tests/testasciidoc.py update and committing the result
  • or computing an MD5SUMS file of the expected output, storing it in the tests/data directory, and implementing a new flag tests/testasciidoc.py run --compare-md5 which could be used for Travis-CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions