{"id":25776212,"url":"https://github.com/cleopatra27/chocotea","last_synced_at":"2025-02-27T06:05:49.099Z","repository":{"id":65672994,"uuid":"580306209","full_name":"cleopatra27/chocotea","owner":"cleopatra27","description":"A library that generates postman collection and integration tests from java code","archived":false,"fork":false,"pushed_at":"2023-01-20T00:04:50.000Z","size":424,"stargazers_count":37,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-03T00:16:51.457Z","etag":null,"topics":["api","insomnia-collections","integration-testing","jakartaee","postman","postman-collection","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","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/cleopatra27.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":"2022-12-20T08:31:16.000Z","updated_at":"2024-04-29T12:27:29.000Z","dependencies_parsed_at":"2023-02-11T22:45:13.474Z","dependency_job_id":null,"html_url":"https://github.com/cleopatra27/chocotea","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleopatra27%2Fchocotea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleopatra27%2Fchocotea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleopatra27%2Fchocotea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleopatra27%2Fchocotea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cleopatra27","download_url":"https://codeload.github.com/cleopatra27/chocotea/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240987435,"owners_count":19889333,"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":["api","insomnia-collections","integration-testing","jakartaee","postman","postman-collection","spring","spring-boot"],"created_at":"2025-02-27T06:01:19.321Z","updated_at":"2025-02-27T06:05:49.092Z","avatar_url":"https://github.com/cleopatra27.png","language":"Java","readme":"# ChocoTea ☕️\n⭐ Star on GitHub — it motivates a lot!\n\nChocotea is a library that generates postman collection, environment and integration tests from java code.\n\nThe aim of chocotea is to help reduce the amount of time it takes to setup a postman\ncollection with requests and tests manually. It also helps with sharing API codebase(s),\nnew developers can generate a postman collection for their changes.\n\nChocotea runs at compile, generates collection json file \nand works with:\n\n\n- [Spring](https://mvnrepository.com/artifact/org.springframework/spring-core)\n- [Jakarta](https://mvnrepository.com/artifact/jakarta.ws.rs/jakarta.ws.rs-api) \n- [javax](https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api)\n\nThis can be used with more than one controller on any or all the supported libraries, \nhowever, they need to have different collection names.\n\n![Snap](https://user-images.githubusercontent.com/18359815/212893841-0dd97c0c-d7ac-432c-9278-748e563e4895.png)\n\n## Installation\n### Maven\n```java\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.chocotea\u003c/groupId\u003e\n        \u003cartifactId\u003echocotea\u003c/artifactId\u003e\n        \u003cversion\u003e1.0EE\u003c/version\u003e\n    \u003c/dependency\u003e\n```\n\n### gradle\nAdd this dependency to your project's build file:\n\n```java\ncompile(\"io.chocotea:chocotea:1.0\")\n```\n\n## Usage (Annotations)\n- [@SpringCollection](documentation/SpringCollection.md)\n- [@SpringRequest](documentation/SpringRequest.md)\n- [@JakartaCollection](documentation/JakartaCollection.md)\n- [@JakartaRequest](documentation/JakartaRequest.md)\n- [@JavaxCollection](documentation/JavaxCollection.md)\n- [@JavaxRequest](documentation/JavaxRequest.md)\n- [@ChocoRandom](documentation/ChocoRandom.md)\n- [@ChocoExpect](documentation/ChocoExpect.md)\n- [@ChocoDuplicateTest](documentation/ChocoDuplicateTest.md)\n- [@ChocoCurrencyTest](documentation/ChocoCurrencyTest.md)\n\n\nThis library runs on compile, after which your collection and environment json files are stored in \nyour-project-folder/target/generated-sources/annotations\n\nSample collection [HERE](documentation/sample/sampleCollection.json)\nSample environment [HERE](documentation/sample/sampleEnvironment.json)\n\n\n## Language\nThis is the list of languages that can be passed to the request. The default is json and options are:\n```text\n    text,\n    json,\n    javascript,\n    html,\n    xml\n```\n\n## Auth\nThis is the list of auth type that can be passed to the request. The default is noauth and options are:\n```text\n    apikey,\n    awsv4,\n    basic,\n    bearer,\n    digest,\n    edgegrid,\n    hawk,\n    noauth,\n    oauth1,\n    oauth2,\n    ntlm\n```\n","funding_links":[],"categories":["测试","项目","Projects"],"sub_categories":["实用程序","Utility"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleopatra27%2Fchocotea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleopatra27%2Fchocotea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleopatra27%2Fchocotea/lists"}