{"id":36602574,"url":"https://github.com/rife2/bld-testng","last_synced_at":"2026-01-31T01:36:31.894Z","repository":{"id":188380889,"uuid":"678616610","full_name":"rife2/bld-testng","owner":"rife2","description":"bld Extension for Running Tests with TestNG","archived":false,"fork":false,"pushed_at":"2026-01-30T23:04:06.000Z","size":607,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-30T23:33:12.590Z","etag":null,"topics":["bld","build-system","build-tool","build-tool-plugin","extension","testing","testng"],"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/rife2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-15T01:07:29.000Z","updated_at":"2026-01-30T23:04:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"78da86ac-57fe-4f0a-b83f-6b73a56bdb88","html_url":"https://github.com/rife2/bld-testng","commit_stats":null,"previous_names":["rife2/bld-testng"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/rife2/bld-testng","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-testng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-testng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-testng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-testng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rife2","download_url":"https://codeload.github.com/rife2/bld-testng/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rife2%2Fbld-testng/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28926270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"ssl_error","status_checked_at":"2026-01-30T22:32:31.927Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bld","build-system","build-tool","build-tool-plugin","extension","testing","testng"],"created_at":"2026-01-12T08:40:07.824Z","updated_at":"2026-01-31T01:36:31.887Z","avatar_url":"https://github.com/rife2.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [bld](https://rife2.com/bld) Extension to Run Tests with [TestNG](https://testng.org/)\n\n[![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Java](https://img.shields.io/badge/java-17%2B-blue)](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)\n[![bld](https://img.shields.io/badge/2.3.0-FA9052?label=bld\u0026labelColor=2392FF)](https://rife2.com/bld)\n[![Release](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.rife2.com%2Freleases%2Fcom%2Fuwyn%2Frife2%2Fbld-testng%2Fmaven-metadata.xml\u0026color=blue)](https://repo.rife2.com/#/releases/com/uwyn/rife2/bld-testng)\n[![Snapshot](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.rife2.com%2Fsnapshots%2Fcom%2Fuwyn%2Frife2%2Fbld-testng%2Fmaven-metadata.xml\u0026label=snapshot)](https://repo.rife2.com/#/snapshots/com/uwyn/rife2/bld-testng)\n[![GitHub CI](https://github.com/rife2/bld-testng/actions/workflows/bld.yml/badge.svg)](https://github.com/rife2/bld-testng/actions/workflows/bld.yml)\n\nTo install the latest version, add the following to the `lib/bld/bld-wrapper.properties` file:\n\n```properties\nbld.extension-testng=com.uwyn.rife2:bld-testng\n```\n\nFor more information, please refer to the [extensions](https://github.com/rife2/bld/wiki/Extensions) documentation.\n\n## Test with TestNG\n\nTo run the tests with TestNG, add the following to your build file:\n\n```java\n@Override\npublic TestOperation\u003c?, ?\u003e testOperation() {\n    return new TestNgOperation()\n            .fromProject(this)\n            .packages(\"com.example\");\n}\n```\n\n```console\n./bld compile test\n\n./bld compile test -testclass=com.example.Test,com.sample.Test\n./bld compile test -methods=com.example.Test.foo,com.example.Test.bar\n./bld compile test -testnames=Test1,Test2\n./bld compile test -groups=group1,group2\n./bld compile test -excludegroups=group1,group3\n```\n\n- [View Examples Project](https://github.com/rife2/bld-testng/tree/master/examples)\n\nPlease check the [TestNgOperation documentation](https://rife2.github.io/bld-testng/rife/bld/extension/TestNgOperation.html#method-summary) for all available configuration options.\n\n### TestNG Dependency\n\nDon't forget to add a TestNG `test` dependency to your build file, as it is not provided by the extension. For example:\n\n```java\nrepositories = List.of(MAVEN_CENTRAL);\nscope(test).include(dependency(\"org.testng\", \"testng\", version(7, 12, 0)));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frife2%2Fbld-testng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frife2%2Fbld-testng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frife2%2Fbld-testng/lists"}