{"id":56079,"library":"randomizedtesting-runner","title":"RandomizedTesting Runner","description":"JUnit test runner that adds pseudo-randomness to test execution order and parameter selection for better coverage.","status":"active","version":"2.8.4","language":"java","source_language":null,"source_url":"https://github.com/randomizedtesting/randomizedtesting","tags":["testing","junit","randomized","runner"],"install":[{"cmd":"<dependency>\n  <groupId>com.carrotsearch.randomizedtesting</groupId>\n  <artifactId>randomizedtesting-runner</artifactId>\n  <version>2.8.4</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.8.4'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"RandomizedRunner","correct":"com.carrotsearch.randomizedtesting.RandomizedRunner"}],"quickstart":{"code":"import com.carrotsearch.randomizedtesting.RandomizedRunner;\nimport org.junit.runner.RunWith;\n\n@RunWith(RandomizedRunner.class)\npublic class ExampleTest {\n    @org.junit.Test\n    public void testSomething() {\n        // test code\n    }\n}","lang":"java","description":"Annotates a test class to use the RandomizedRunner."},"warnings":[{"fix":"Ensure tests are independent; use @Seed to reproduce failures.","message":"RandomizedRunner may cause flaky tests if tests depend on execution order.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'add':7 'better':19 'coverag':20 'execut':13 'junit':3,22 'order':14 'paramet':16 'pseudo':9 'pseudo-random':8 'random':10,23 'randomizedtest':1 'runner':2,5,24 'select':17 'test':4,12,21","created_at":"2026-06-15T10:19:35.166770+00:00","updated_at":"2026-06-15T10:19:35.166770+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/randomizedtesting/randomizedtesting","github":"https://github.com/randomizedtesting/randomizedtesting","docs":"https://appdoc.app/artifact/com.carrotsearch.randomizedtesting/randomizedtesting-runner/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}