{"id":23096680,"url":"https://github.com/yvanmazy/concurrent-testing","last_synced_at":"2025-04-03T19:43:24.110Z","repository":{"id":230267420,"uuid":"778938217","full_name":"YvanMazy/concurrent-testing","owner":"YvanMazy","description":"Minimal Java library to create concurrency tests.","archived":false,"fork":false,"pushed_at":"2024-09-13T13:27:17.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T07:45:16.733Z","etag":null,"topics":["concurrency","java","lightweight","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YvanMazy.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-28T17:49:35.000Z","updated_at":"2024-09-14T17:25:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"03d612f8-6d8a-4fd5-b547-75351b6c4415","html_url":"https://github.com/YvanMazy/concurrent-testing","commit_stats":null,"previous_names":["darkkraft/concurrent-testing","yvanmazy/concurrent-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YvanMazy%2Fconcurrent-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YvanMazy%2Fconcurrent-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YvanMazy%2Fconcurrent-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YvanMazy%2Fconcurrent-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YvanMazy","download_url":"https://codeload.github.com/YvanMazy/concurrent-testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070769,"owners_count":20878581,"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":["concurrency","java","lightweight","unit-testing"],"created_at":"2024-12-16T22:40:35.725Z","updated_at":"2025-04-03T19:43:24.090Z","avatar_url":"https://github.com/YvanMazy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧵 concurrent-testing\n\nVery small Java library for doing concurrency tests during unit testing. It's a tool that I use for personal projects,\nit is not intended to be really maintained.\n\nHere is a small example of use:\n\n```java\n@RepeatedTest(10) // To reduce randomness, use repeated test\nvoid testAtomicCounter() {\n    final Counter counter = new AtomicCounter();\n    ConcurrentTester.run(() -\u003e {\n        // Code executed in different threads\n        counter.increment();\n    }, c -\u003e c.threads(THREADS).iterations(ITERATIONS));\n    assertEquals(THREADS * ITERATIONS, counter.get());\n}\n```\n\nTo use the project as a dependency, you can add it using [Maven](https://maven.apache.org/)\nor [Gradle](https://gradle.org/).\n\u003cbr\u003e**Last version**: [![Release](https://jitpack.io/v/YvanMazy/concurrent-testing.svg)](https://jitpack.io/#YvanMazy/concurrent-testing)\n\n```groovy\nrepositories {\n    maven { url 'https://jitpack.io' }\n}\n\ndependencies {\n    implementation 'com.github.YvanMazy:concurrent-testing:VERSION'\n}\n```\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.YvanMazy\u003c/groupId\u003e\n        \u003cartifactId\u003econcurrent-testing\u003c/artifactId\u003e\n        \u003cversion\u003eVERSION\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyvanmazy%2Fconcurrent-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyvanmazy%2Fconcurrent-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyvanmazy%2Fconcurrent-testing/lists"}