{"id":27969173,"url":"https://github.com/future-architect/go-exceltesting","last_synced_at":"2026-03-07T12:01:19.173Z","repository":{"id":56785824,"uuid":"517968525","full_name":"future-architect/go-exceltesting","owner":"future-architect","description":"Go data insert into dababase tool for table driven testing using excel","archived":false,"fork":false,"pushed_at":"2024-02-29T07:58:45.000Z","size":829,"stargazers_count":3,"open_issues_count":11,"forks_count":4,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-08-21T14:17:59.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/future-architect.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":"2022-07-26T08:03:34.000Z","updated_at":"2024-03-08T08:03:04.000Z","dependencies_parsed_at":"2024-06-21T07:11:10.865Z","dependency_job_id":"b8a133b4-579d-4cb4-af9f-ace6ce6bffb0","html_url":"https://github.com/future-architect/go-exceltesting","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/future-architect/go-exceltesting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fgo-exceltesting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fgo-exceltesting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fgo-exceltesting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fgo-exceltesting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/future-architect","download_url":"https://codeload.github.com/future-architect/go-exceltesting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/future-architect%2Fgo-exceltesting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-05-07T21:08:47.475Z","updated_at":"2026-03-07T12:01:18.833Z","avatar_url":"https://github.com/future-architect.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-exceltesting\n\n[![GoDev](https://img.shields.io/static/v1?label=godev\u0026message=reference\u0026color=00add8)][godoc] [![test](https://github.com/future-architect/go-exceltesting/actions/workflows/test.yml/badge.svg)][test]\n\n[godoc]: https://pkg.go.dev/github.com/future-architect/go-exceltesting\n[test]: https://github.com/future-architect/go-exceltesting/actions/workflows/test.yml\n\nGoでExcelを使ったテーブルドリブンテストを行うためのヘルパーライブラリです。\n\nローカル環境でデータベースを含めた単体テストをするために、機能で必要な事前データをデータベースに投入する必要があります。\nまた正しくデータが更新されたことを検証するために、機能で更新した結果と想定している結果を比較する必要があります。\n\n`go-exceltesting` ではこうしたデータベースへの事前データの投入や、実際の更新結果と期待結果の比較をより効率的に行うためのAPIを提供します。\n視認性に優れることから事前データや期待するデータはExcelを使います。\n\n![](docs/image/overview.drawio.png)\n\n現在は PostgreSQL のみサポートしています。\n\n## 使い方\n\n* [データの投入方法](docs/insert.md)\n* [DBの値と比較する方法](docs/compare.md)\n\n## インストール\n\n```\ngo get github.com/future-architect/go-exceltesting@latest\n```\n\n## CLI インターフェース\n\nテストに用いるExcelテンプレートの生成や、比較などをCLIコマンド経由で生成、確認できます。\n\n### Install\n\n```sh\ngo install github.com/future-architect/go-exceltesting/cmd/exceltesting@latest\n```\n\n### Setup\n\nThis cli tool needs to connect database. Accept connection url by `-c` option or environment variables.\n\n```sh\n# Mac/Linux\nexport EXCELTESTING_CONNECTION=postgres://username:password@localhost:5432/postgres?sslmode=disable\n\n# Windows\nset EXCELTESTING_CONNECTION=postgres://username:password@localhost:5432/postgres?sslmode=disable\n```\n\n### Example\n\nGenerate excel template file.\n\n```sh\n$ exceltesting dump out.xlsx\n```\n\nCompare Database and excel file.\n\n```sh\n$ exceltesting compare testdata/compare.xlsx\n```\n\nLoad test data.\n\n```sh\n$ exceltesting load testdata/load.xlsx\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuture-architect%2Fgo-exceltesting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuture-architect%2Fgo-exceltesting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuture-architect%2Fgo-exceltesting/lists"}