Skip to content

Summary of skipped tests#343

Merged
hadley merged 7 commits into
r-lib:masterfrom
krlmlr:234-skip-summary
Feb 18, 2016
Merged

Summary of skipped tests#343
hadley merged 7 commits into
r-lib:masterfrom
krlmlr:234-skip-summary

Conversation

@krlmlr
Copy link
Copy Markdown
Member

@krlmlr krlmlr commented Jan 13, 2016

Shows skipped tests, but only if there are no failures. Example:

Testing bigrquery
DBItest: Connection : ..SS..S.SS
1. Skip: DBItest: cannot_query_disconnected --------------------------------------------------------------------------------------------------------------
Not yet implemented

2. Skip: DBItest: cannot_disconnect_twice ----------------------------------------------------------------------------------------------------------------
by request

3. Skip: DBItest: stress_connections ---------------------------------------------------------------------------------------------------------------------
by request

4. Skip: DBItest: get_info_connection --------------------------------------------------------------------------------------------------------------------
Not yet implemented

5. Skip: DBItest: stress_load_connect_unload -------------------------------------------------------------------------------------------------------------
by request

DONE 

Will improve the coding once we agree on the concept.

Fixes #234.

CC @HarlanH @kenahoo-windlogics

Fixes #349 (=includes it).

@hadley
Copy link
Copy Markdown
Member

hadley commented Jan 13, 2016

I like the idea, but I think the output could be more compact, e.g.:

Skip: 

1. DBItest: cannot_query_disconnected - Not yet implemented
2. DBItest: cannot_disconnect_twice - by request
3. DBItest: stress_connections - by request
4. DBItest: get_info_connection - Not yet implemented
5. DBItest: stress_load_connect_unload - by request

@hadley
Copy link
Copy Markdown
Member

hadley commented Jan 13, 2016

This might also be a good template for how to handle warnings (#310)

@krlmlr
Copy link
Copy Markdown
Member Author

krlmlr commented Jan 25, 2016

Implemented more compact output.

@krlmlr krlmlr mentioned this pull request Jan 25, 2016
@krlmlr
Copy link
Copy Markdown
Member Author

krlmlr commented Jan 25, 2016

Related: #310.

@krlmlr
Copy link
Copy Markdown
Member Author

krlmlr commented Jan 25, 2016

@hadley: How to include the context in the output, if at all? (Same question for error and warning output.)

@krlmlr
Copy link
Copy Markdown
Member Author

krlmlr commented Jan 26, 2016

Print file + line rather than context: #352

@krlmlr
Copy link
Copy Markdown
Member Author

krlmlr commented Jan 27, 2016

There are two possible file + line locations to report: The test that failed/warned/skipped, and the actual code that causes the error/warning/skip. The former should be always available, even if the latter is not (#352 (comment)).

@hadley
Copy link
Copy Markdown
Member

hadley commented Jan 27, 2016

I think we should try for the actual line of code, and fall back to the test.

@krlmlr krlmlr mentioned this pull request Jan 29, 2016
@krlmlr krlmlr changed the title WIP: Summary of skipped tests Summary of skipped tests Feb 18, 2016
@krlmlr
Copy link
Copy Markdown
Member Author

krlmlr commented Feb 18, 2016

This is complete "as is", file + line information should be handled separately (#352).

hadley added a commit that referenced this pull request Feb 18, 2016
@hadley hadley merged commit 57dc3ce into r-lib:master Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants