{"id":21155005,"url":"https://github.com/forge/arquillian-addon","last_synced_at":"2025-07-11T06:38:06.316Z","repository":{"id":21167450,"uuid":"24470923","full_name":"forge/arquillian-addon","owner":"forge","description":"JBoss Forge Arquillian Addon","archived":false,"fork":false,"pushed_at":"2017-07-27T18:26:55.000Z","size":477,"stargazers_count":5,"open_issues_count":0,"forks_count":12,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-04T22:51:20.311Z","etag":null,"topics":["arquillian","java","scaffolding","testing"],"latest_commit_sha":null,"homepage":"http://www.arquillian.org","language":"Java","has_issues":false,"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/forge.png","metadata":{"files":{"readme":"README.asciidoc","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":"2014-09-25T18:52:03.000Z","updated_at":"2017-08-24T16:15:13.000Z","dependencies_parsed_at":"2022-08-19T00:01:43.852Z","dependency_job_id":null,"html_url":"https://github.com/forge/arquillian-addon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/forge/arquillian-addon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Farquillian-addon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Farquillian-addon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Farquillian-addon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Farquillian-addon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forge","download_url":"https://codeload.github.com/forge/arquillian-addon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forge%2Farquillian-addon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264450458,"owners_count":23610171,"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":["arquillian","java","scaffolding","testing"],"created_at":"2024-11-20T11:13:56.420Z","updated_at":"2025-07-11T06:38:06.261Z","avatar_url":"https://github.com/forge.png","language":"Java","readme":"Arquillian Forge Addon\n========================\n\nimage:https://forge.ci.cloudbees.com/job/arquillian-addon/badge/icon[\"Build Status\", link=\"https://forge.ci.cloudbees.com/job/arquillian-addon/\"]\n\n*Setting up an Arquillian profile \u0026 Test Framework*\n\nArquillian supports testing in multiple containers. This is done by using a Maven profile for each container. This makes it possible to have multiple containers configured side-by-side too.\nTo add a new profile you use the arquillian setup command:\n\n`arquillian-setup`\n\nThis command will prompt for which testframework to use, do you want to use standalone mode, if not then which container to use.\n\nIf you need to install an additional container profile, run command:\n\n`arquillian-add-container`\n\nIn above command if selected container is supported by https://github.com/arquillian/arquillian-container-chameleon[chameleon] then it is configured using chameleon, otherwise it will add required container adapter to setup container.\n\nIf container is not supported by chameleon, Forge will download it for you. There is no need to download container manually.\n\nNote: We are no longer supporting container prior to JBoss AS 7 in forge.\n\n*Tomcat Container Configuration*\n\nIn case of Tomcat container, if you are trying to set it up in managed mode. Forge will create custom server.xml depending on tomcat version, tomcat-users.xml which contains users with `manager-script` role. So after successful execution of command, chameleon is configured with required resources \u0026 properties, Tomcat is ready to use. No worries about configuration.\n\nIt will only work if `catalina.home` is nested in the target folder.(For chameleon default download folder for container distributions is `target/` for Maven).\n\n*Generating tests*\n\nWriting Arquillian tests is trivial, and is documented well: https://docs.jboss.org/author/display/ARQ/Reference+Guide\n\nForge can help you get started however. \n\n`arquillian-create-test --targets demo.CoolBean --archiveType JAR`\n\t\nOf course you can use the TAB key to navigate to the class that you want to test.\n\n\n*Arquillian Cube*\n\n*Setup:*\n\nTo add Arquillian Cube dependencies configuration options in arquillian.xml, run command:\n\n`arquillian-cube-setup --type docker-compose --file-path docker-compose.yml`\n\nBefore running above command make sure that file provided with file-path is exists.\n\n*Create Test:*\n\nTo create a test class, run command:\n\n`arquillian-create-test --named MyDockerComposeTest --target-package org.arquillian.cube`.\n\n*Add Cube Test \u0026 Enrichers:*\n\nTo enrich a given Arquillian test with respective annotations depending on selected type, run command:\n\n`arquillian-cube-add-test --test-class org.cube.docker.MyDockerComposeTest`\n\nSame way you can create a test for Kubernetes, Docker, Openshift.\n\n*All Available Commands*\n\n[width=\"80%\"]\n|====================================================================================================================================\n| Name                               | Usage                                                                                         |\n| arquillian-setup                   | To setup container, and add test framework dependency.                                        |\n| arquillian-add                     | To add arquillian universe bom dependency                                                     |\n| arquillian-add-testframework       | To add testframework dependency.                                                              |\n| arquillian-container-setup         | To add required dependency for container to setup.                                            |\n| arquillian-container-configuration | To configure container configuration.                                                         |\n| arquillian-create-test             | To create a test inside package.                                                              |\n| arquillian-cube-setup              | To add arquillian cube dependency \u0026 updates arquillian configuration.                         |\n| arquillian-cube-add-test           | To add a test method in selected class with required test enricher depending on selected type.|\n|====================================================================================================================================\n\nFor more details about options have a look into integration tests at:\nhttps://github.com/forge/arquillian-addon/tree/master/src/test/java/test/integration[integration tests]\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Farquillian-addon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforge%2Farquillian-addon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforge%2Farquillian-addon/lists"}