{"id":16373945,"url":"https://github.com/minidigger/minitestframework","last_synced_at":"2026-02-27T23:41:20.426Z","repository":{"id":43339896,"uuid":"425330315","full_name":"MiniDigger/MiniTestFramework","owner":"MiniDigger","description":"Integration Test Framework for Paper!","archived":false,"fork":false,"pushed_at":"2023-12-15T05:39:29.000Z","size":162,"stargazers_count":20,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T21:16:41.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MiniDigger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-11-06T19:26:49.000Z","updated_at":"2025-01-25T23:19:45.000Z","dependencies_parsed_at":"2023-12-15T06:49:02.367Z","dependency_job_id":null,"html_url":"https://github.com/MiniDigger/MiniTestFramework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiniDigger%2FMiniTestFramework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiniDigger%2FMiniTestFramework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiniDigger%2FMiniTestFramework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiniDigger%2FMiniTestFramework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MiniDigger","download_url":"https://codeload.github.com/MiniDigger/MiniTestFramework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244267404,"owners_count":20425836,"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","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":"2024-10-11T03:15:41.908Z","updated_at":"2026-02-27T23:41:15.395Z","avatar_url":"https://github.com/MiniDigger.png","language":"Java","readme":"# MiniTestFramework\n\nIntegration Test Framework for Paper!\n\n## Usage\n\n* Install plugin\n* Create Test Structure\n  * `/test create \u003cfilename.testname\u003e [width]`\n  * Build contraption\n  * Save schematic\n* Create Test Script\n  * create \u003cmytest\u003e.js in plugin folder\n  * register a new test case into the registry \n    ```js\n    import {registry, EntityType} from \"./minitestframework/index.mjs\";\n    registry.register(\"test\", (helper) =\u003e {\n      helper.pressButton(3, 3, 3);\n      helper.succeedWhenEntityPresent(EntityType.MINECART, 1, 2, 3);\n    });\n    ```\n  * use helper to do actions and assertions (basic auto complete should be provided by the auto generated definition files)\n  * use `/test pos` ingame to find relation locations\n* Reload script changes with `/minitest reload`\n* Run test via command block ingame or `/test run*` commands\n\nExample: https://streamable.com/e/k6kngh\n\n## Running in CI\n\nWhen the plugin detects that the CI env var is set to true, it will automatically run all tests, write a test-results.xml (in junit format) and stop the server.  \nIf exit code \u003e 0, then X number of required tests failed. If exit code \u003c 0, then X number of optional test failed. Exit code = 0 means happy day :)\n\n## Contribution\n\nBest to hit me up on the paper discord: https://discord.gg/papermc  \n`gradlew runServer` to test locally.\n\n## Licence\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminidigger%2Fminitestframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminidigger%2Fminitestframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminidigger%2Fminitestframework/lists"}