{"id":24330930,"url":"https://github.com/arindam369/test-case-counter","last_synced_at":"2026-02-22T23:32:33.774Z","repository":{"id":271780369,"uuid":"914538418","full_name":"arindam369/test-case-counter","owner":"arindam369","description":"A CLI to count the number of test cases written by a specific git user in a repository within a given date range","archived":false,"fork":false,"pushed_at":"2025-01-12T04:02:35.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T21:41:05.590Z","etag":null,"topics":["cli","counter","git","java","testcase"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/test-case-counter","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/arindam369.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-09T19:45:07.000Z","updated_at":"2025-01-12T04:02:39.000Z","dependencies_parsed_at":"2025-01-09T21:09:26.451Z","dependency_job_id":"1c3513b0-0a49-40f0-a1be-0512a6d266de","html_url":"https://github.com/arindam369/test-case-counter","commit_stats":null,"previous_names":["arindam369/test-case-counter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arindam369/test-case-counter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindam369%2Ftest-case-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindam369%2Ftest-case-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindam369%2Ftest-case-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindam369%2Ftest-case-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arindam369","download_url":"https://codeload.github.com/arindam369/test-case-counter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arindam369%2Ftest-case-counter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29730721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"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":["cli","counter","git","java","testcase"],"created_at":"2025-01-18T01:16:45.262Z","updated_at":"2026-02-22T23:32:33.756Z","avatar_url":"https://github.com/arindam369.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test Case Counter\n\n*A CLI tool to count the number of Java test cases written by a specific git user in a repository over a specified date range. It supports filtering by file extensions and target subfolders.*\n\n---\n\n## Usage\n\n- Install the [test-case-counter](https://www.npmjs.com/package/test-case-counter) package globally\n\n  ```bash\n  npm install -g test-case-counter\n  ```\n\n- Navigate to the directory of your Java project where the test cases are written, ensure that project is a git repository with commits properly tracked, use the test-case-counter command to analyze the testcases\n\n  ```bash\n  test-case-counter -a \u003cauthor\u003e -s \u003cstart_date\u003e -e \u003cend_date\u003e [-x \u003cextensions\u003e] [-t \u003ctarget\u003e]\n  ```\n\n## Options\n\n| **Option**             | **Description**                                                                 |\n|------------------------|---------------------------------------------------------------------------------|\n| `-a, --author`         | (Required) Name of the git user                   |\n| `-s, --start`          | (Required) Start date in `DD-MM-YYYY` format                                   |\n| `-e, --end`            | (Required) End date in `DD-MM-YYYY` format                                     |\n| `-x, --extensions`     | File extensions to filter by (comma-separated). Default: `.java`               |\n| `-t, --target`         | Subfolder to filter files                                            |\n\n## Example\n\n- *Count testcases by \"Arindam Halder\" between Jan 1, 2025 and Jan 10, 2025*\n\n  ```bash\n  test-case-counter -a \"Arindam Halder\" -s 01-01-2025 -e 10-01-2025\n  ```\n\n  ```bash\n  +===============================================+\n  |               Test Case Counter               |\n  +===============================================+\n  | Author:            Arindam Halder             \n  | Date range:        01-01-2025 - 10-01-2025    \n  +-----------------------------------------------+\n  | Total testcases written:  21                 \n  +===============================================+\n  ```\n\n- *Count testcases by \"Arindam Halder\" in files with .java and .kt extensions*\n  ```bash\n  test-case-counter -a \"Arindam Halder\" -s 01-01-2025 -e 10-01-2025 -x .java,.kt\n  ```\n\n  ```bash\n  +===============================================+\n  |               Test Case Counter               |\n  +===============================================+\n  | Author:            Arindam Halder             \n  | Date range:        01-01-2025 - 10-01-2025    \n  +-----------------------------------------------+\n  | Total testcases written:  21                 \n  +===============================================+\n  ```\n\n- *Count testcases by \"Arindam Halder\" in the \"Spring-Data-Jpa\" subfolder*\n  ```bash\n  test-case-counter -a \"Arindam Halder\" -s 01-01-2025 -e 10-01-2025 -t Spring-Data-Jpa\n  ```\n\n  ```bash\n  +===============================================+\n  |               Test Case Counter               |\n  +===============================================+\n  | Author:            Arindam Halder\n  | Date range:        01-01-2025 - 10-01-2025\n  | Target subfolder:  Spring-Data-Jpa\n  +-----------------------------------------------+\n  | Total testcases written:  18\n  +===============================================+\n  ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farindam369%2Ftest-case-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farindam369%2Ftest-case-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farindam369%2Ftest-case-counter/lists"}