{"id":23974630,"url":"https://github.com/hal/testsuite.next","last_synced_at":"2025-04-13T22:37:27.107Z","repository":{"id":27493159,"uuid":"107442975","full_name":"hal/testsuite.next","owner":"hal","description":"Testsuite for HAL","archived":false,"fork":false,"pushed_at":"2024-04-26T07:23:42.000Z","size":2249,"stargazers_count":2,"open_issues_count":9,"forks_count":26,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-26T08:34:06.749Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-10-18T17:47:04.000Z","updated_at":"2024-04-26T08:34:06.749Z","dependencies_parsed_at":"2023-01-16T23:15:17.579Z","dependency_job_id":"3ae3d311-dc1f-4140-8dc3-dd288835d74f","html_url":"https://github.com/hal/testsuite.next","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/hal%2Ftestsuite.next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Ftestsuite.next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Ftestsuite.next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Ftestsuite.next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hal","download_url":"https://codeload.github.com/hal/testsuite.next/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248793043,"owners_count":21162489,"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":"2025-01-07T05:47:40.812Z","updated_at":"2025-04-13T22:37:27.039Z","avatar_url":"https://github.com/hal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![TC Build](https://ci.wildfly.org/app/rest/builds/buildType:(id:hal_TestSuiteDevelopment)/statusIcon.svg)](https://ci.wildfly.org/viewType.html?buildTypeId=hal_TestSuiteDevelopment\u0026guest=1)\n\n# Testsuite\n\nTestsuite for the HAL management console based on [Drone \u0026 Graphene](http://arquillian.org/guides/functional_testing_using_graphene/) Arquillian extensions.\n\n## Profiles\n\nThe testsuite uses various profiles to decide how and which tests to run. The following profiles are available:\n\n- `chrome` | `firefox` | `safari`: Defines the browser to run the tests (mutual exclusive)\n- `basic`, `rbac`, `transaction`, `multihosts`, `keycloak`: Defines which tests to run (can be combined)\n- `standalone` | `domain` | `microprofile` | `domain-hc-dc`: Defines the operation mode (mutual exclusive)\n- `standalone` | `domain` | `domain-hc-dc`: Defines the operation mode (mutual exclusive). \n\nCombine multiple profiles to define your setup. Choose at least one profile from each line. Please note that you cannot combine profiles which are marked as mutual exclusive.\n\n`microprofile` profile defines tests which are runnable with expansion pack (XP) which include microprofile.\n`domain-hc-dc` means domain mode with master (dc) and slave (hc) host.\n\nExamples of valid combinations:\n\n- `chrome,basic,standalone`\n- `firefox,basic,rbac,domain`\n- `firefox,basic,domain-hc-dc`\n- `safari,rbac,transaction,standalone`\n\nExamples of invalid combinations:\n\n- `safari,firefox`\n- `basic,transaction`\n- `standalone,domain`\n- `standalone,domain-hc-dc`\n- `domain,domain-hc-dc`\n- `chrome,basic,standalone,domain`\n\n## Run Tests\n\nIn order to run tests you need a running WildFly / JBoss EAP server with an insecure management interface.\n\nThe easiest way is to use the provided scripts\n\n- `start-wildfly.sh` and\n- `stop-wildfly.sh`\n\nThey use the docker image [halconsole/hal-wildfly](https://hub.docker.com/r/halconsole/hal-wildfly/) which is based\non [jboss/wildfly](https://hub.docker.com/r/jboss/wildfly/), the latest HAl console and standalone configurations with\ninsecure management interfaces.\n\nIf you rather want to use a custom WildFly instance, use the following commands to remove the security realm from the\nmanagement interface:\n\nStandalone\n\n```\n/core-service=management/management-interface=http-interface:undefine-attribute(name=security-realm)\n:reload\n```\n\nDomain\n\n```\n/host=master/core-service=management/management-interface=http-interface:undefine-attribute(name=security-realm)\n/host=master:reload\n```\n\nDomain hc dc (on master)\n\n```\n/host=master/core-service=management/management-interface=http-interface:undefine-attribute(name=security-realm)\n/host=master:reload\n```\n\n### Alternative Setup\n* Has removed security realm\n* Using `source` to set `JBOSS_HOME` from SERVER_ZIP\n\nStandalone\n```\nsource ./prepare.sh \u003cSERVER_ZIP\u003e standalone\n```\nDomain\n```\nsource ./prepare.sh \u003cSERVER_ZIP\u003e domain\n```\nDomain hc dc (on master)\n```\nsource ./prepare.sh \u003cSERVER_ZIP\u003e domain-hc-dc\n```\n#### To stop server started by `prepare.sh`\nStandalone\n```\n./shutdown.sh \u003cSERVER_ZIP\u003e standalone\n```\nDomain\n```\n./shutdown.sh \u003cSERVER_ZIP\u003e domain\n```\nDomain hc dc (on master)\n```\n./shutdown.sh \u003cSERVER_ZIP\u003e domain-hc-dc\n```\n\n### Run all tests:\n\nTo run the tests you need to set the ``JBOSS_HOME`` property pointing to the WildFly directory. If have run the ``start-wildfly`` script, you can see the WildFly directory printed out in the console.\n\n```bash\nmvn test -P\u003cprofiles\u003e\n```\n\n### Run all tests including product (EAP) specific ones:\n\n```bash\nmvn test -P\u003cprofiles\u003e -Deap\n```\n\n### Run a single test:\n\n```bash\nmvn test -P\u003cprofiles\u003e -Dtest=\u003cfully qualified classname\u003e\n```\n\nTo debug the test(s) use the `maven.surefire.debug` property:\n\n```bash\nmvn test -P\u003cprofiles\u003e -Dtest=\u003cfully qualified classname\u003e -Dmaven.surefire.debug\n```\n\nThe tests will automatically pause and await a remote debugger on port 5005. You can then attach to the running tests using your IDE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal%2Ftestsuite.next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhal%2Ftestsuite.next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal%2Ftestsuite.next/lists"}