Skip to content
Snippets Groups Projects
Commit bcb5a2cb authored by Richard Gibson's avatar Richard Gibson
Browse files

Use consistent ordering for documenting test frontmatter keys

parent de567d3a
No related branches found
No related tags found
No related merge requests found
...@@ -53,9 +53,9 @@ The Test262 frontmatter is a string of [YAML](https://en.wikipedia.org/wiki/YAML ...@@ -53,9 +53,9 @@ The Test262 frontmatter is a string of [YAML](https://en.wikipedia.org/wiki/YAML
Test262 supports the following tags: Test262 supports the following tags:
- [**description**](#description) (required) - [**description**](#description) (required)
- [**esid**](#esid) (required for new tests)
- [**info**](#info) - [**info**](#info)
- [**negative**](#negative) - [**negative**](#negative)
- [**esid**](#esid) (required for new tests)
- [**includes**](#includes) - [**includes**](#includes)
- [**timeout**](#timeout) - [**timeout**](#timeout)
- [**author**](#author) - [**author**](#author)
...@@ -74,6 +74,13 @@ This is one of two required frontmatter tags. The description should be a short, ...@@ -74,6 +74,13 @@ This is one of two required frontmatter tags. The description should be a short,
Eg: Insert <LS> between chunks of one string Eg: Insert <LS> between chunks of one string
#### esid
**esid**: [spec-id]
This tag is required for all new feature tests. This tag identifies the hash ID from the portion of the ECMAScript draft which is most recent to the date the test was added. It represents the anchors on the generated HTML version of the specs. E.g.: `esid: sec-typedarray-length`. This tag might be used to replace a `es6id` or further.
When writing a new test for a Stage 3+ spec not yet published on the draft, the `pending` value can be used while a hash ID is not available.
#### info #### info
**info**: [multiline string] **info**: [multiline string]
...@@ -115,13 +122,6 @@ For example: ...@@ -115,13 +122,6 @@ For example:
phase: parse phase: parse
type: ReferenceError type: ReferenceError
#### esid
**esid**: [spec-id]
This tag is required for all new feature tests. This tag identifies the hash ID from the portion of the ECMAScript draft which is most recent to the date the test was added. It represents the anchors on the generated HTML version of the specs. E.g.: `esid: sec-typedarray-length`. This tag might be used to replace a `es6id` or further.
When writing a new test for a Stage 3+ spec not yet published on the draft, the `pending` value can be used while a hash ID is not available.
#### includes #### includes
**includes**: [file-list] **includes**: [file-list]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment