{"id":7747107,"name":"UnitTestBot/UTBotJava-action","ecosystem":"actions","description":"The GitHub action for generating tests and creating SARIF reports based on UTBotJava","homepage":"","licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/UnitTestBot/UTBotJava-action","keywords_array":["github-action","java","sarif-report","test-generation"],"namespace":"UnitTestBot","versions_count":2,"first_release_published_at":"2022-07-06T15:56:49.000Z","latest_release_published_at":"2022-07-06T15:56:49.000Z","latest_release_number":"v1.0.0","last_synced_at":"2026-03-15T23:24:07.160Z","created_at":"2023-05-17T11:16:59.352Z","updated_at":"2026-03-15T23:24:07.161Z","registry_url":"https://github.com/UnitTestBot/UTBotJava-action","install_command":null,"documentation_url":null,"metadata":{"name":"UTBot static code analysis","description":"The GitHub action for generating tests and creating SARIF reports based on UTBotJava","branding":{"icon":"coffee","color":"red"},"inputs":{"pushTests":{"description":"Push generated tests to the repository or not.","default":"true"},"targetClasses":{"description":"Classes for which the SARIF-report will be created. Uses all source classes from the user project if this list is empty.","default":"all"},"generatedTestsRelativeRoot":{"description":"Relative path (against repository root) to the root of the generated tests.","default":".utbot/test"},"testFramework":{"description":"The name of the test framework to be used. Options: ['junit4', 'junit5', 'testng'].","default":"junit5"},"generationTimeout":{"description":"Time budget for generating tests for one class (in milliseconds).","default":"60000"},"codegenLanguage":{"description":"The language of the generated tests. Options: ['java', 'kotlin'].","default":"java"},"mockStrategy":{"description":"The mock strategy to be used. Options: ['no-mocks', 'other-packages', 'other-classes'].","default":"other-packages"},"staticsMocking":{"description":"Use static methods mocking or not. Options: ['do-not-mock-statics', 'mock-statics'].","default":"mock-statics"},"forceStaticMocking":{"description":"Forces mocking static methods and constructors for classesToMockAlways classes or not. Options: ['force', 'do-not-force'].","default":"force"},"classesToMockAlways":{"description":"Classes to force mocking theirs static methods and constructors. By default, some internal classes are used.","default":"[]"}},"runs":{"using":"composite","steps":[{"name":"Run generateTestsAndSarifReport task","run":"gradle generateTestsAndSarifReport -PtargetClasses=\"${{ inputs.targetClasses }}\" -PgeneratedTestsRelativeRoot=${{ inputs.generatedTestsRelativeRoot }} -PsarifReportsRelativeRoot='.utbot/sarif' -PtestFramework=${{ inputs.testFramework }} -PgenerationTimeout=${{ inputs.generationTimeout }} -PcodegenLanguage=${{ inputs.codegenLanguage }} -PmockStrategy=${{ inputs.mockStrategy }} -PstaticsMocking=${{ inputs.staticsMocking }} -PforceStaticMocking=${{ inputs.forceStaticMocking }} -PclassesToMockAlways=\"${{ inputs.classesToMockAlways }}\" -PmergedSarifReportFileName='utbot-report.sarif'","shell":"bash"},{"name":"Commit and push generated tests","if":"${{ inputs.pushTests == 'true' }}","uses":"EndBug/add-and-commit@v9","with":{"add":"${{ inputs.generatedTestsRelativeRoot }}","message":"[UTBot]: Add generated tests","author_name":"github-actions[bot]","author_email":"41898282+github-actions[bot]@users.noreply.github.com","push":true}},{"name":"Upload SARIF report","uses":"github/codeql-action/upload-sarif@v2","with":{"sarif_file":".utbot/sarif/utbot-report.sarif"}}]},"default_branch":"main","path":null},"repo_metadata":{"uuid":"507812376","full_name":"UnitTestBot/UTBotJava-action","owner":"UnitTestBot","description":"An action for unit tests generation and SARIF report creation with the UTBotJava engine","archived":false,"fork":false,"pushed_at":"2022-07-07T14:08:59.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-07-14T08:46:50.199Z","etag":null,"topics":["github-action","java","sarif-report","test-generation"],"latest_commit_sha":null,"homepage":"","language":null,"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/UnitTestBot.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":"2022-06-27T07:48:29.000Z","updated_at":"2022-07-07T07:52:25.000Z","dependencies_parsed_at":"2022-09-10T22:02:55.810Z","dependency_job_id":null,"html_url":"https://github.com/UnitTestBot/UTBotJava-action","commit_stats":null,"previous_names":[],"tags_count":2,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitTestBot%2FUTBotJava-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitTestBot%2FUTBotJava-action/tags","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitTestBot%2FUTBotJava-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnitTestBot","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":145725636,"owners_count":6280943,"icon_url":"https://github.com/github.png","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"},"owner_record":{"login":"UnitTestBot","name":"UnitTestBot","uuid":"87413538","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/87413538?v=4","repositories_count":13,"last_synced_at":"2023-03-03T19:53:07.692Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/UnitTestBot","created_at":"2022-11-14T05:09:55.458Z","updated_at":"2023-03-03T19:53:07.703Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnitTestBot","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UnitTestBot/repositories"},"tags":[{"name":"v1","sha":"c87e4b268e9ab28e50ffcd6491840c267bac8898","kind":"tag","published_at":"2022-07-07T14:01:57.000Z","download_url":"https://codeload.github.com/UnitTestBot/UTBotJava-action/tar.gz/v1","html_url":"https://github.com/UnitTestBot/UTBotJava-action/releases/tag/v1","dependencies_parsed_at":"2023-05-30T20:14:12.183Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitTestBot%2FUTBotJava-action/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitTestBot%2FUTBotJava-action/tags/v1/manifests"},{"name":"v1.0.0","sha":"c87e4b268e9ab28e50ffcd6491840c267bac8898","kind":"commit","published_at":"2022-07-06T15:56:49.000Z","download_url":"https://codeload.github.com/UnitTestBot/UTBotJava-action/tar.gz/v1.0.0","html_url":"https://github.com/UnitTestBot/UTBotJava-action/releases/tag/v1.0.0","dependencies_parsed_at":"2023-05-30T20:14:12.422Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitTestBot%2FUTBotJava-action/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UnitTestBot%2FUTBotJava-action/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2023-07-14T10:27:30.357Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.78212644588813,"dependent_packages_count":0.0,"stargazers_count":48.363175408017746,"forks_count":21.708128664237048,"docker_downloads_count":null,"average":23.713357629535732},"purl":"pkg:githubactions/UnitTestBot/UTBotJava-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/UnitTestBot/UTBotJava-action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/UnitTestBot/UTBotJava-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/UnitTestBot/UTBotJava-action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/UnitTestBot%2FUTBotJava-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/UnitTestBot%2FUTBotJava-action/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/UnitTestBot%2FUTBotJava-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/UnitTestBot%2FUTBotJava-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/UnitTestBot%2FUTBotJava-action/codemeta","maintainers":[]}