{"id":22376904,"url":"https://github.com/tupilabs/testng-parser","last_synced_at":"2025-08-14T21:18:23.916Z","repository":{"id":5007625,"uuid":"6165991","full_name":"tupilabs/testng-parser","owner":"tupilabs","description":"TestNG Parser","archived":false,"fork":false,"pushed_at":"2016-04-19T20:19:04.000Z","size":36,"stargazers_count":12,"open_issues_count":1,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T16:12:02.319Z","etag":null,"topics":["parser","parsing","testing","testng","xunit"],"latest_commit_sha":null,"homepage":null,"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/tupilabs.png","metadata":{"files":{"readme":"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}},"created_at":"2012-10-10T23:23:07.000Z","updated_at":"2025-02-22T12:42:44.000Z","dependencies_parsed_at":"2022-09-26T22:00:47.775Z","dependency_job_id":null,"html_url":"https://github.com/tupilabs/testng-parser","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tupilabs/testng-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupilabs%2Ftestng-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupilabs%2Ftestng-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupilabs%2Ftestng-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupilabs%2Ftestng-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tupilabs","download_url":"https://codeload.github.com/tupilabs/testng-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tupilabs%2Ftestng-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267848767,"owners_count":24154478,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":["parser","parsing","testing","testng","xunit"],"created_at":"2024-12-04T22:12:11.299Z","updated_at":"2025-07-30T23:31:45.742Z","avatar_url":"https://github.com/tupilabs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# testng-parser: A simple TestNG parser\n\nTestNG Parser project with a simple TestNG parser, used by other projects such \nas Jenkins plug-ins.\n\n## Build status\n\n[![Build Status](https://buildhive.cloudbees.com/job/tupilabs/job/testng-parser/badge/icon)](https://buildhive.cloudbees.com/job/tupilabs/job/testng-parser/)\n\n## Usage example\n\nBelow an example of how to use this parser.\n\n    ClassLoader cl = TestTestNGParser.class.getClassLoader();\n    URL url = cl.getResource(\"com/tupilabs/testng/parser/testng-results.xml\");\n    File file = new File(url.getFile());\n\n    List\u003cSuite\u003e suites = null;\n    try {\n        suites = this.parser.parse(file);\n    } catch (ParserException e) {\n        fail(\"Failed to parse testng file '\" + file + \"': \" + e.getMessage());\n    }\n    \n    assertTrue(suite.getName().equals(\"Command line suite\"));\n    \n    List\u003cTest\u003e tests = suite.getTests();\n    assertEquals(tests.size(), 1);\n    \n    Class clazz = classes.get(0);\n    assertNotNull(clazz);\n\n    assertTrue(clazz.getName().equals(\"br.eti.kinoshita.Test1\"));\n\n    List\u003cTestMethod\u003e testMethods = clazz.getTestMethods();\n    \n    TestMethod testMethod = testMethods.get(0);\n    assertTrue(testMethod.getStatus().equals(\"PASS\"));\n    \n## Licensing\n\nThis project is licensed under MIT License.\n\n## Contributing\n\nFork it, send pull requests or drop us a message :-)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftupilabs%2Ftestng-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftupilabs%2Ftestng-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftupilabs%2Ftestng-parser/lists"}