|
1 | 1 | # Tests report
|
2 | 2 |
|
3 |
| -* Endpoints in JSON spec: <%= @reporter.apis[:json].count %> |
4 |
| -* Endpoints in elasticsearch-specification: <%= @reporter.apis[:specification].count %> |
5 |
| -* Endpoints in Serverless: <%= @reporter.serverless_apis.count %> |
| 3 | +Endpoints that are currently being tested are marked as done and link to the test where they're being used. |
| 4 | + |
| 5 | +* [Endpoints in stack JSON spec](#endpoints-in-stack-json-spec): <%= @reporter.apis[:json].count %> |
| 6 | +* [Endpoints in elasticsearch-specification](#stack): <%= @reporter.apis[:specification].count %> |
| 7 | +* [Endpoints in Serverless](#serverless): <%= @reporter.serverless_apis.count %> |
6 | 8 | * [Tested](#tested): <%= @reporter.tested.count %>
|
7 | 9 | * [Untested](#untested): <%= @reporter.untested.count %>
|
8 | 10 | * Coverage Stack: 
|
9 | 11 | * Coverage Serverless: 
|
| 12 | +* [APIs in JSON spec and not in elasticsearch-specification](#apis-in-json-spec-and-not-elasticsearch-specification) |
| 13 | + |
| 14 | +## Endpoints in stack JSON spec |
| 15 | +<% @reporter.json_apis.each do |api| -%> |
| 16 | +<%= @reporter.display_endpoint(api) %> |
| 17 | +<% end %> |
10 | 18 |
|
11 |
| -## Tested |
| 19 | +## Endpoints in elasticsearch-specification |
12 | 20 |
|
13 |
| -<% @reporter.tested.each do |test| %> |
14 |
| -- [x] [<%= test[:endpoint] %>](<%= test[:file] %>) |
| 21 | +### Serverless |
| 22 | + |
| 23 | +<% @reporter.serverless_apis.each do |api| -%> |
| 24 | +<%= @reporter.display_endpoint(api['name']) %> |
15 | 25 | <% end %>
|
16 | 26 |
|
17 |
| -## Untested |
| 27 | +### Stack |
18 | 28 |
|
19 |
| -<% @reporter.untested.each do |test| %> |
20 |
| -- [ ] <%= test %> |
| 29 | +<% @reporter.stack_apis.each do |api| -%> |
| 30 | +<%= @reporter.display_endpoint(api['name']) %> |
21 | 31 | <% end %>
|
| 32 | + |
| 33 | +### APIs in JSON spec and not elasticsearch-specification |
| 34 | + |
| 35 | +<% (@reporter.json_apis - @reporter.stack_apis.map { |a| a['name'] }).each do |api| -%> |
| 36 | +<%= @reporter.display_endpoint(api) %> |
| 37 | +<% end %> |
0 commit comments