{"id":75244,"library":"system-stubs-jupiter","title":"System Stubs JUnit Jupiter","description":"JUnit Jupiter extension for System Stubs, enabling mocking of system properties, environment variables, and standard I/O in tests.","status":"active","version":"2.1.8","language":"java","source_language":null,"source_url":"https://github.com/webcompere/system-stubs","tags":["testing","junit","system-stubs","mock","environment"],"install":[{"cmd":"<dependency>\n  <groupId>uk.org.webcompere</groupId>\n  <artifactId>system-stubs-jupiter</artifactId>\n  <version>2.1.8</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'uk.org.webcompere:system-stubs-jupiter:2.1.8'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"SystemStubsExtension","correct":"uk.org.webcompere.systemstubs.jupiter.SystemStubsExtension"}],"quickstart":{"code":"import uk.org.webcompere.systemstubs.jupiter.SystemStubsExtension;\nimport org.junit.jupiter.api.extension.ExtendWith;\n\n@ExtendWith(SystemStubsExtension.class)\nclass MyTest {\n    // Test methods can use @SystemStub annotations\n}","lang":"java","description":"Register SystemStubsExtension to enable system stubs in JUnit 5 tests."},"warnings":[{"fix":"Use @RegisterExtension or order extensions explicitly with @ExtendWith.","message":"SystemStubsExtension may interfere with other extensions that modify system state; order of extensions matters.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'enabl':11 'environ':16,29 'extens':7 'i/o':20 'junit':3,5,24 'jupit':4,6 'mock':12,28 'properti':15 'standard':19 'stub':2,10,27 'system':1,9,14,26 'system-stub':25 'test':22,23 'variabl':17","created_at":"2026-06-17T19:14:17.435279+00:00","updated_at":"2026-06-17T19:14:17.435279+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/webcompere/system-stubs/","github":"https://github.com/webcompere/system-stubs","docs":"https://appdoc.app/artifact/uk.org.webcompere/system-stubs-jupiter/","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-17","next_check":"2026-12-14","install_tag":null}}