Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Move to py.test and take advantage of it #182

Closed
Milestone
@gsnedders

Description

@gsnedders

We want to move to py.test so that:

  • we can select to only run parser tests with one tree builder (and tree walker tests with only one tree walker, etc.)
  • we can make use of the plugin API to create a means of dumping test failures and build support for expected failures into the testsuites from html5lib-tests
  • it is easier to create nicer error messages
  • better support for skipped and expected failures so we can walk towards having a constant number of tests across all platforms, optionally skipped

https://github.com/gsnedders/html5lib-python/tree/expected_failures_pytest is my current WIP branch implementing this.

Status:

Needed to fix failures:

  • Make sure tests from generators run in a deterministic order
  • Use pytest-expect

The rest:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp