{"id":51848047,"url":"https://github.com/nervosnetwork/ckb-java-integration-test","last_synced_at":"2026-07-23T15:01:25.620Z","repository":{"id":64829799,"uuid":"578499536","full_name":"nervosnetwork/ckb-java-integration-test","owner":"nervosnetwork","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-10T03:00:18.000Z","size":73,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-07-06T11:05:15.873Z","etag":null,"topics":[],"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/nervosnetwork.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,"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":"2022-12-15T07:49:47.000Z","updated_at":"2026-03-10T05:38:16.000Z","dependencies_parsed_at":"2025-05-27T13:43:51.902Z","dependency_job_id":"59fe2e96-878a-410d-b1be-fb650670855a","html_url":"https://github.com/nervosnetwork/ckb-java-integration-test","commit_stats":null,"previous_names":["nervosnetwork/ckb-java-integration-test"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nervosnetwork/ckb-java-integration-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fckb-java-integration-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fckb-java-integration-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fckb-java-integration-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fckb-java-integration-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nervosnetwork","download_url":"https://codeload.github.com/nervosnetwork/ckb-java-integration-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fckb-java-integration-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35805966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-23T02:00:06.683Z","response_time":57,"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":[],"created_at":"2026-07-23T15:01:24.685Z","updated_at":"2026-07-23T15:01:25.607Z","avatar_url":"https://github.com/nervosnetwork.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ckb-java-integration-test\n\n## Project Introduction\n\nThis is a CKB Java SDK integration testing project based on Maven + TestNG + Allure, used to verify the functionality and performance of the CKB Java SDK.\n\n## Technology Stack\n\n- Maven: Project building and dependency management\n- TestNG: Testing framework\n- Allure: Test report generation tool\n- CKB Java SDK: Java development toolkit for Nervos CKB\n\n## Steps to Verify SDK Temporary Branch Locally\n\n### Preparation\n\n1. Clone the test project\n   ```bash\n   git clone https://github.com/15168316096/ckb-java-integration-test.git -b newmultisign\n   cd ckb-java-integration-test\n   ```\n\n2. Clone the SDK project as a dependency in the test project root directory\n   ```bash\n   git clone https://github.com/eval-exec/ckb-sdk-java.git -b exec/fix-multisig\n   ```\n\n3. Package ckb-sdk-java to generate jar file\n   ```bash\n   cd ckb-sdk-java\n   ./gradlew clean :ckb:shadowJar\n   cd ..\n   ```\n\n4. Confirm the dependency configuration in pom.xml is correct\n   ```xml\n   \u003cdependency\u003e\n       \u003cgroupId\u003eorg.nervos.ckb\u003c/groupId\u003e\n       \u003cartifactId\u003eckb\u003c/artifactId\u003e\n       \u003cversion\u003e3.0.1\u003c/version\u003e\n       \u003cscope\u003esystem\u003c/scope\u003e\n       \u003csystemPath\u003e${project.basedir}/ckb-sdk-java/ckb/build/libs/ckb-3.0.1-all.jar\u003c/systemPath\u003e\n   \u003c/dependency\u003e\n   ```\n\n5. Compile the test project\n   ```bash\n   mvn clean compile\n   ```\n\n6. Run the tests\n   ```bash\n   mvn test\n   ```\n\n## Project Structure\n\n```\nckb-java-integration-test/\n├── src/\n│   ├── main/java/com/ckb/\n│   │   ├── base/         # Base classes and configurations\n│   │   ├── cases/        # Test cases\n│   │   ├── utils/        # Utility classes\n│   ├── resources/        # Resource files\n├── testng/               # TestNG configuration files\n├── allure-results/       # Allure test results\n├── pom.xml               # Maven configuration\n└── README.md             # Project description\n```\n\n## Test Example\n\n```java\n@Test(retryAnalyzer = Retry.class, dataProvider = \"getBlockHash\")\n@Description(\"with_cycles:null/true/false\")\n@Severity(SeverityLevel.BLOCKER)\n@Feature(\"rpc\")\n@Issue(\"https://github.com/nervosnetwork/ckb-sdk-java/issues/616\")\npublic void TestGetBlock(byte[] blockHash) throws Exception {\n    Block block = apiService.getBlock(blockHash);\n    Assert.assertNotNull(block.transactions);\n}\n\n@DataProvider(name = \"getBlockHash\")\npublic Object[][] getBlockHash() throws Exception {\n    byte[] blockHash = apiService.getBlockHash(1);\n    //verbosity should not have been included initially. Different verbosity values return different types, can't be placed in the same method.\n    return new Object[][] {\n        {blockHash},\n        //                {blockHash, null},\n        //                {blockHash, true},\n        //                {blockHash, false}\n    };\n}\n```\n\n## Generate Test Report\n\nAfter completing the tests, you can use the following command to generate an Allure test report:\n\n```bash\nmvn allure:report\n```\n\nThe report will be generated in the `target/site/allure-maven-plugin` directory.\n\n## Common Issues\n\n### 1. Dependency Issues\n\nIf you encounter dependency issues, you can try the following command to reload dependencies:\n\n```bash\nmvn clean install -U\n```\n\n### 2. Test Failures\n\nIf tests fail, please check:\n\n- Whether the CKB node is running normally\n- Whether the URLs and parameters in the configuration file are correct\n- Whether the SDK version is compatible\n\n## Contribution Guidelines\n\n1. Fork the project\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Create a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details\n\n## Contact\n\nIf you have any questions, please submit them through GitHub Issues.\n        ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnervosnetwork%2Fckb-java-integration-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnervosnetwork%2Fckb-java-integration-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnervosnetwork%2Fckb-java-integration-test/lists"}