{"id":18684976,"url":"https://github.com/h1alexbel/ghquota","last_synced_at":"2025-04-12T04:32:47.247Z","repository":{"id":217680774,"uuid":"744550543","full_name":"h1alexbel/ghquota","owner":"h1alexbel","description":"JUnit extension that won't run your tests if request quota in GitHub is exceeded","archived":false,"fork":false,"pushed_at":"2024-10-21T19:49:38.000Z","size":53,"stargazers_count":4,"open_issues_count":7,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-22T05:05:46.781Z","etag":null,"topics":["github","junit-extension","junit5","testing"],"latest_commit_sha":null,"homepage":"","language":"Java","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/h1alexbel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-01-17T14:29:50.000Z","updated_at":"2024-10-09T09:31:40.000Z","dependencies_parsed_at":"2024-02-21T08:31:13.519Z","dependency_job_id":"501ed410-6687-4d41-a389-35a7ca3bb8cd","html_url":"https://github.com/h1alexbel/ghquota","commit_stats":null,"previous_names":["h1alexbel/ghquota"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1alexbel%2Fghquota","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1alexbel%2Fghquota/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1alexbel%2Fghquota/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h1alexbel%2Fghquota/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h1alexbel","download_url":"https://codeload.github.com/h1alexbel/ghquota/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223495106,"owners_count":17154647,"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":["github","junit-extension","junit5","testing"],"created_at":"2024-11-07T10:19:55.400Z","updated_at":"2024-11-07T10:19:55.471Z","avatar_url":"https://github.com/h1alexbel.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"logo\" src=\"https://www.objectionary.com/cactus.svg\" height=\"100px\" /\u003e\n\n[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)\n[![DevOps By Rultor.com](https://www.rultor.com/b/h1alexbel/ghquota)](https://www.rultor.com/p/h1alexbel/ghquota)\n[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)\n\u003cbr\u003e\n\n[![mvn](https://github.com/h1alexbel/ghquota/actions/workflows/mvn.yml/badge.svg)](https://github.com/h1alexbel/ghquota/actions/workflows/mvn.yml)\n[![maven central](http://maven-badges.herokuapp.com/maven-central/io.github.h1alexbel/ghquota/badge.svg)](https://search.maven.org/artifact/io.github.h1alexbel/ghquota)\n[![javadoc](https://javadoc.io/badge2/io.github.h1alexbel/ghquota/javadoc.svg)](https://javadoc.io/doc/io.github.h1alexbel/ghquota)\n\n[![Hits-of-Code](https://hitsofcode.com/github/h1alexbel/ghquota)](https://hitsofcode.com/view/github/h1alexbel/ghquota)\n[![Lines-of-Code](https://tokei.rs/b1/github/h1alexbel/ghquota)](https://github.com/h1alexbel/ghquota)\n[![PDD status](http://www.0pdd.com/svg?name=h1alexbel/ghquota)](http://www.0pdd.com/p?name=h1alexbel/ghquota)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/h1alexbel/ghquota/blob/master/LICENSE.txt)\n\nJUnit extension that won't run your tests if request quota in GitHub is exceeded.\n\n**How to use**. All you need is this (get the latest version [here](https://search.maven.org/artifact/io.github.h1alexbel/ghquota)):\n\nMaven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eio.github.h1alexbel\u003c/groupId\u003e\n  \u003cartifactId\u003eghquota\u003c/artifactId\u003e\n  \u003cscope\u003etest\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\nGradle:\n```groovy\ndependencies {\n    testCompile 'io.github.h1alexbel:ghquota:\u003cversion\u003e'\n}\n```\n\n```java\nimport java.net.URL;\nimport io.github.h1alexbel.ghquota.QuotaIsFine;\n\n@Test\n@ExtendWith(QuotaIsFine.class)\nvoid readsContentInRealGitHub() {\n    new URL(\"api.github.com/repos/h1alexbel/ghquota\").getContent();\n}\n```\n\nWe don't want this unit test to be executed when [GitHub Quota API](https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28) is exceeded.\nThe Quota execution condition will prevent JUnit5 from executing the test when you are out of requests.\n\n## How to Contribute\n\nIt's a Java project.\nYou will need to install Maven 3.8.7+ Java 17+.\n\nFork repository, make changes, send us a [pull request](https://www.yegor256.com/2014/04/15/github-guidelines.html).\nWe will review your changes and apply them to the `master` branch shortly,\nprovided they don't violate our quality standards. To avoid frustration,\nbefore sending us your pull request please run full Maven build:\n\n```bash\n$ mvn clean install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh1alexbel%2Fghquota","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh1alexbel%2Fghquota","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh1alexbel%2Fghquota/lists"}