{"id":13337302,"url":"https://github.com/eliasnogueira/simulations-test","last_synced_at":"2026-05-30T20:31:09.564Z","repository":{"id":43398162,"uuid":"307831485","full_name":"eliasnogueira/simulations-test","owner":"eliasnogueira","description":"This is the test project for the credit-simulator-api that shows how to modularise a test project creating a client and a test separately ","archived":false,"fork":false,"pushed_at":"2022-08-28T21:03:09.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T16:48:12.472Z","etag":null,"topics":["api","api-testing","java","microservices","microservices-testing","test-automation"],"latest_commit_sha":null,"homepage":"http://eliasnogueira.com","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/eliasnogueira.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-27T21:23:41.000Z","updated_at":"2023-12-19T21:06:14.000Z","dependencies_parsed_at":"2022-09-16T01:24:27.416Z","dependency_job_id":null,"html_url":"https://github.com/eliasnogueira/simulations-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eliasnogueira/simulations-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasnogueira%2Fsimulations-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasnogueira%2Fsimulations-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasnogueira%2Fsimulations-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasnogueira%2Fsimulations-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliasnogueira","download_url":"https://codeload.github.com/eliasnogueira/simulations-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliasnogueira%2Fsimulations-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33709269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","api-testing","java","microservices","microservices-testing","test-automation"],"created_at":"2024-07-29T19:13:43.436Z","updated_at":"2026-05-30T20:31:09.541Z","avatar_url":"https://github.com/eliasnogueira.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simulations test\nThis test project belongs to a set of projects listed bellow:\n\n* [simulations-client](https://github.com/eliasnogueira/simulations-client)\n* [test-parent](https://github.com/eliasnogueira/test-parent)\n\n## What does this project do?\nThis is the test project for the [credit-simulator-api](https://github.com/eliasnogueira/credit-simulator-api), so you need to run locally the API service to be able to run the tests.\n\nThe [SimulationsTest](https://github.com/eliasnogueira/simulations-test/blob/master/src/test/java/simulations/SimulationsTest.java) \nclass uses the restrictions-client project as a dependency to hit the correct endpoints.\nYou can configure the credit-restrictions-api (if you changed it) in the [api.properties](https://github.com/eliasnogueira/simulations-test/blob/master/src/test/resources/api.properties) file.\n\nThe package `src/main/java/data` contains the data classes:\n* [CfpGenerator](https://github.com/eliasnogueira/simulations-test/blob/master/src/main/java/data/CpfGenerator.java): class to generate a new valid CPF\n* [SimulationDataFactory](https://github.com/eliasnogueira/simulations-test/blob/master/src/main/java/data/SimulationDataFactory.java): factory class for fake data creation\n* [SimulationsDataProvider](https://github.com/eliasnogueira/simulations-test/blob/master/src/main/java/data/SimulationDataProvider.java): data provider for the negative scenarios","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliasnogueira%2Fsimulations-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliasnogueira%2Fsimulations-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliasnogueira%2Fsimulations-test/lists"}