GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Test snippet code · Issue #607 · googleapis/google-cloud-java

Test snippet code #607

New issue
Copy link
New issue
Copy link
Closed
Closed
Test snippet code#607
Copy link
Assignees
aozarov

Description

@ajkannan
ajkannan
opened on Feb 2, 2016
Issue body actions

It would be nice to link the snippets in the READMEs to code that we can test in Travis. That way we'd know our snippets are up to date after changes. As @mziccard points out, it's not easy to do because the snippets that we have now are simple end-to-end usage showcases (e.g. update a blob if it exists or create it if not). On the other hand our examples are more complex and command-line oriented to show the usage of each single functionality. Snippets could be part of IT tests but they will need changes anyway: asserts, data definitions, etc.

@mziccard suggests that we could create a snippet package in gcloud-java-examples where we put each snippet as a class+main with a meaningful name (e.g. CreateOrUpdateBlob). We can then reference those files before the snippet.

Activity

  1. ajkannan
    added
    docs
    testing
    on Feb 2, 2016
  2. aozarov
    added
    build
    help wanted
    on Feb 2, 2016
  3. aozarov commented on Feb 10, 2016

    @aozarov
    aozarov
    on Feb 10, 2016
    Contributor
    More actions

    Fixed by #635

  4. aozarov
    closed this as completedon Feb 10, 2016
  5. JustinBeckwith
    assigned
    aozarov
    on Feb 1, 2021
  6. github-actions
    added a commit that references this issue on Jun 29, 2022

    chore: release 1.0.4 (googleapis#607)

    3731eb4
  7. github-actions
    added a commit that references this issue on Nov 19, 2022

    cleanup: remove migrated sample (googleapis#607)

    999dc03
  8. suztomo
    added 2 commits that reference this issue on Feb 1, 2023

    deps: update dependency junit:junit to v4.13.2 (#607)

    b6ab824

    chore(main): release 2.0.0 (#739)

    ea9f421
  9. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore: release 0.122.5-SNAPSHOT (#607)

    dae92b9
  10. chingor13
    added a commit that references this issue on Jan 22, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    095fd5d
  11. suztomo
    added a commit that references this issue on Mar 23, 2026

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    3479ec0
  12. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore: release 0.123.4 (#607)

    fbf8491
  13. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore: release 0.123.4 (#607)

    d97d9a7
  14. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

    861e236

    build(deps): update dependency com.google.cloud:google-cloud-shared-c…

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

Metadata

Metadata

Assignees

  • @aozarov
    aozarov

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.