{"id":21353355,"url":"https://github.com/marketionist/tests2doc","last_synced_at":"2025-06-16T14:02:50.931Z","repository":{"id":34881564,"uuid":"155035271","full_name":"Marketionist/tests2doc","owner":"Marketionist","description":"Export your test cases from .js or .feature files to Google Docs Sheets","archived":false,"fork":false,"pushed_at":"2022-12-09T01:36:21.000Z","size":129,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T17:46:31.711Z","etag":null,"topics":["export-test-cases-to-google-docs","export-tests-to-google-spreadsheets","link-tests-to-google-docs","test-documentation","tests-to-doc","tests2doc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Marketionist.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}},"created_at":"2018-10-28T04:29:47.000Z","updated_at":"2020-07-30T12:59:55.000Z","dependencies_parsed_at":"2023-01-15T09:52:43.254Z","dependency_job_id":null,"html_url":"https://github.com/Marketionist/tests2doc","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marketionist%2Ftests2doc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marketionist%2Ftests2doc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marketionist%2Ftests2doc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Marketionist%2Ftests2doc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Marketionist","download_url":"https://codeload.github.com/Marketionist/tests2doc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826798,"owners_count":20354221,"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","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":["export-test-cases-to-google-docs","export-tests-to-google-spreadsheets","link-tests-to-google-docs","test-documentation","tests-to-doc","tests2doc"],"created_at":"2024-11-22T03:17:20.609Z","updated_at":"2025-03-16T05:13:11.715Z","avatar_url":"https://github.com/Marketionist.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tests2doc\n\n[![Build Status](https://travis-ci.org/Marketionist/tests2doc.svg?branch=master)](https://travis-ci.org/Marketionist/tests2doc)\n[![npm version](https://img.shields.io/npm/v/tests2doc.svg)](https://www.npmjs.com/package/tests2doc)\n[![NPM License](https://img.shields.io/npm/l/tests2doc.svg)](https://github.com/Marketionist/tests2doc/blob/master/LICENSE)\n\nExport your test cases from `.js` or `.feature` files to Google Docs Sheets.\n\n## Supported versions\n[Node.js](http://nodejs.org/):\n- 8.x\n- 9.x\n- 10.x\n- 11.x\n- 12.x\n\n## Installation\n`npm install tests2doc --save`\n\n## Importing and configuring\n\u003e You will need to enable the Google Sheets API for the project in order to access\n\u003e Spreadsheets - see [instructions](https://cmichel.io/how-to-access-google-spreadsheet-with-node/).\n\nYou can require tests2doc in your `.js` file and configure it like this:\n\n```javascript\nconst { exportTestCases } = require('tests2doc');\n\nexportTestCases();\n```\n\nFunction `exportTestCases` returns an array of test cases and exports them to Google Sheets.\n\nWhen launching the script (your `.js` file that contains `exportTestCases();`) 2 parametes should be provided:\n- `CLIENT_SECRET_PATH` - string with path to your `client_secret.json` file - for example:\n\n  ```bash\n  CLIENT_SECRET_PATH='./secrets/client_secret.json'\n  ```\n\n- `TESTS_FOLDER_PATH` - string with path to your `tests` folder - for example:\n\n  ```bash\n  TESTS_FOLDER_PATH='./src/tests'\n  ```\n\nSo it will look like:\n\n```bash\nCLIENT_SECRET_PATH='./secrets/client_secret.json' TESTS_FOLDER_PATH='./src/tests' node index.js\n```\n\n\n## Thanks\nIf this script was helpful for you, please give it a **★ Star**\non [github](https://github.com/Marketionist/tests2doc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketionist%2Ftests2doc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarketionist%2Ftests2doc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketionist%2Ftests2doc/lists"}