Repository navigation
[testharness.js] Formalize test types - #8597
jugglinmike wants to merge 3 commits into
Conversation
Build PASSEDStarted: 2017-12-14 02:53:34 View more information about this build on: |
tobie
left a comment
There was a problem hiding this comment.
LGTM from a high-level perspective.
Did not look at the details of the PR.
|
I just realized that I wasn't honoring precedent in terms of configuration |
Previously, tests for the testharness.js framework were validated according to an implicit heuristic based on the presence of a `<script>` tag. Introduce a declarative configuration to make this distinction explicit. This pattern makes the validation behavior easier to understand. It also enables future additions which further differentiate the way the two test types are interpreted.
f9ecee0 to
fb41104
Compare
|
It looks like gh-8027 introduced some conflicts with this patch. I've rebased the branch to resolve those and made the original branch available here for posterity. This should be once again ready for review! |
| ### Functional tests | ||
|
|
||
| In order to test the behavior of the harness itself, some tests must force | ||
| Thoroughly testing the behavior of the harness itself requires ensuring a |
There was a problem hiding this comment.
I think you forgot to remove a line here.
There was a problem hiding this comment.
You're right--thanks for catching that!
|
@gsnedders Would you mind taking a look at this? |
|
Superseded by gh-11010. |
Previously, tests for the testharness.js framework were validated
according to an implicit heuristic based on the presence of a
<script>tag.
Introduce a declarative configuration to make this distinction explicit.
This pattern makes the validation behavior easier to understand. It also
enables future additions which further differentiate the way the two
test types are interpreted.
This change is