Skip to content

How should we exercise snippets via testing? #1744

Closed

Description

@tseaver

The snippets introduced in #1690 are intended to be testable against the API (almost system tests). @dhermes brought up the following issues about them:

[We need]

A clear story on when these snippets are run (i.e. update tox.ini)
Way fewer pylint disable statements
Integrating with unittest, it seems your main() is emulating some of that functionality.

Activity

  1. added
    type: questionRequest for information or clarification. Not an issue.
    api: pubsubIssues related to the Pub/Sub API.
    on Apr 22, 2016
  2. tseaver commented on Aug 25, 2016

    @tseaver
    ContributorAuthor

    #2154 supersedes this for the general case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

testingtype: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions