Re: [webdriver-tests] Import WebDriver test harness files from wptrunner (#4668)

> I also wonder if we should find a better name than util. I don’t want to
> create another kitchen sink.

I'd suggest `fixtures/`, but I'm anticipating a few more utilities for future
tests. For instance, despite its small size, the `inline` function will be good
to share between many files. Another example is domain-specific assertions.

We could just dump them in the `webdriver/` directory, but I'm pretty averse to
mixing files containing tests with non-test files (even if Pytest is clever
enough to sort out the difference). Would you feel any better about something
like this:

    - webdriver/
      |`- tests/
      |   |`navigation.py
      |    `contexts.py
      |`- fixtures/
      |   `cleanup.py
      |`- inline.py
       `- assert.py

View on GitHub: https://github.com/w3c/web-platform-tests/pull/4668#issuecomment-276726259

Received on Wednesday, 1 February 2017 17:40:44 UTC