{"id":29649778,"url":"https://github.com/iwdgo/testinghello","last_synced_at":"2025-07-22T04:35:22.100Z","repository":{"id":57598656,"uuid":"147998959","full_name":"iwdgo/testinghello","owner":"iwdgo","description":"How to test Hello app","archived":false,"fork":false,"pushed_at":"2023-11-02T18:03:52.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T11:46:19.896Z","etag":null,"topics":["gcp","go","golang","handler","hello","offline","testing","tutorial"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/iwdgo/testinghello","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iwdgo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-09T06:23:24.000Z","updated_at":"2023-01-22T07:30:04.000Z","dependencies_parsed_at":"2023-02-12T15:45:26.115Z","dependency_job_id":"13f52494-b8a7-491d-8b24-8339bc78e630","html_url":"https://github.com/iwdgo/testinghello","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/iwdgo/testinghello","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Ftestinghello","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Ftestinghello/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Ftestinghello/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Ftestinghello/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iwdgo","download_url":"https://codeload.github.com/iwdgo/testinghello/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwdgo%2Ftestinghello/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266428503,"owners_count":23927010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gcp","go","golang","handler","hello","offline","testing","tutorial"],"created_at":"2025-07-22T04:35:21.308Z","updated_at":"2025-07-22T04:35:22.078Z","avatar_url":"https://github.com/iwdgo.png","language":"Go","readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/iwdgo/testinghello.svg)](https://pkg.go.dev/github.com/iwdgo/testinghello)\n[![Go Report Card](https://goreportcard.com/badge/github.com/iwdgo/testinghello)](https://goreportcard.com/report/github.com/iwdgo/testinghello)\n[![codecov](https://codecov.io/gh/iwdgo/testinghello/branch/master/graph/badge.svg)](https://codecov.io/gh/iwdgo/testinghello)\n\n[![Build Status](https://app.travis-ci.com/iwdgo/testinghello.svg?branch=master)](https://app.travis-ci.com/iwdgo/testinghello)\n[![Build Status](https://api.cirrus-ci.com/github/iwdgo/testinghello.svg)](https://cirrus-ci.com/github/iwdgo/testinghello)\n[![Build status](https://ci.appveyor.com/api/projects/status/r9m4u1ew6419ikbs?svg=true)](https://ci.appveyor.com/project/iwdgo/testinghello)\n[![Go](https://github.com/iwdgo/testinghello/actions/workflows/go.yml/badge.svg)](https://github.com/iwdgo/testinghello/actions/workflows/go.yml)\n\n# Testing Hello!\n\nTest of hello app can be done offline (server is not running) or online.\nIf online, it can be deployed locally (no network) or on a server.\n\nTests are performed:\n- offline: by calling the handler directly. No server is started.  \n- online without network: by issuing an http request and verifying the response of the started website.\n- online with network (app is deployed): by issuing an http request and verifying the response of the deployed website.  \n\nUse as standalone module:\n- To start the site locally, use `src\u003ego run .`\n\n- use the standard set up (`app.yaml`) to deploy on Google Cloud which requires to create an account.  \n    `src\u003egcloud app deploy app.yaml`\n\n## Good to know\n\nCoverage could be improved but the required complexity is beyond the scope of this repository.\n\nTagging remains on v1 as the purpose of the repository is to follow the evolution of Google Cloud and go language\non its topic.\n\n## Release history\n\n### v1.2.0\n\nMinimal version is go 1.16 as deprecated `ioutil` package is migrated.\nFlag `target` allows to override deployed URL like `go test -target=\u003csome-url\u003e`\n\n### v1.1.0\n\nAll previous solutions have been removed including comments as their use on GCP is deprecated\nPrevious release is tagged but requires ad hoc set up.\n\nFurther, `dev_appserver.py` does not provide support beyond go 1.11 and its use is removed.\n\nAll information regarding Google Cloud are removed as default runtime is several cycles after Go 1.11.\nRepository is repurposed to test of a simple website.\n\n### v1.0.0 Optional use of modules in various configuration.\n\nSince `go 1.11` is available on GCP, the `app.yaml` is elementary.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiwdgo%2Ftestinghello","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiwdgo%2Ftestinghello","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiwdgo%2Ftestinghello/lists"}