{"id":22445881,"url":"https://github.com/virtualansoftware/testscripts-generator","last_synced_at":"2025-03-27T10:46:05.193Z","repository":{"id":111455301,"uuid":"496089242","full_name":"virtualansoftware/testscripts-generator","owner":"virtualansoftware","description":"#Idaithalam maven test script generation plugin - The plugin would generate testng java code for idaithalam workflow ymls","archived":false,"fork":false,"pushed_at":"2022-05-25T14:41:51.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T15:35:16.405Z","etag":null,"topics":["agiletesting","apitesting","test-automation","testing-tools"],"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/virtualansoftware.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":"2022-05-25T05:03:58.000Z","updated_at":"2022-05-25T14:45:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c27436e-dc4b-4968-8459-ba1c085b5665","html_url":"https://github.com/virtualansoftware/testscripts-generator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualansoftware%2Ftestscripts-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualansoftware%2Ftestscripts-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualansoftware%2Ftestscripts-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virtualansoftware%2Ftestscripts-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virtualansoftware","download_url":"https://codeload.github.com/virtualansoftware/testscripts-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245832686,"owners_count":20679701,"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":["agiletesting","apitesting","test-automation","testing-tools"],"created_at":"2024-12-06T03:17:10.715Z","updated_at":"2025-03-27T10:46:05.184Z","avatar_url":"https://github.com/virtualansoftware.png","language":"Java","readme":"## maven plugin for \"testscripts-generator\"\n\n### Why do we need maven plugin?\nCurrently, the testng test class code created and repeated in all the project. \nThis one will help to generate the testng Java code for workflow ymls projected via maven plugin.\nThis will remove the boiler plate code which repeated for any idaithalam java project.\n\n### How will this work?\nThis generator will create Java class and test method for all the given ymls.\n\n```xml\n\u003cplugin\u003e\n    \u003cgroupId\u003eio.virtualan\u003c/groupId\u003e\n    \u003cartifactId\u003etestscripts-generator\u003c/artifactId\u003e\n    \u003cversion\u003e0.1.0\u003c/version\u003e\n    \u003cconfiguration\u003e\n        \u003cgeneratedBasedir\u003esrc/test/java\u003c/generatedBasedir\u003e\n        \u003cworkflowScripts\u003e\n            \u003cRestTestPlanExecutor\u003e\n                \u003cproperty\u003e\n                    \u003cname\u003eworkflowExecution_xl\u003c/name\u003e\n                    \u003cvalue\u003erest-get.yml\u003c/value\u003e\n                \u003c/property\u003e\n            \u003c/RestTestPlanExecutor\u003e\n        \u003c/workflowScripts\u003e\n    \u003c/configuration\u003e\n    \u003cexecutions\u003e\n        \u003cexecution\u003e\n            \u003cid\u003etest-generator\u003c/id\u003e\n            \u003cgoals\u003e\n                \u003cgoal\u003egenerateTest\u003c/goal\u003e\n            \u003c/goals\u003e\n        \u003c/execution\u003e\n    \u003c/executions\u003e\n\u003c/plugin\u003e\n```\n\n### Generated JAVA Code\n\nThe above plugin would generate the following java code and would be excuted as well.\n\n```java \npackage io.virtualan.idaithalam.test;\n\nimport io.virtualan.idaithalam.core.api.VirtualanTestPlanExecutor;\nimport org.testng.Assert;\n\npublic class RestTestPlanExecutor {\n\n\t@org.testng.annotations.Test\n\tpublic void workflowExecution_xl(){\n\t\ttry {\n\t\t\tboolean isSuccess = VirtualanTestPlanExecutor.invoke(\"rest-get.yml\");\n \t\t\tAssert.assertTrue(isSuccess);\n \t\t} catch (Exception e) {\n\t\t\tAssert.assertTrue(false);\n\t\t}\n\t}\n\n}\n```\n\n#### Email info@virtualan.io for any questions.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtualansoftware%2Ftestscripts-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirtualansoftware%2Ftestscripts-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirtualansoftware%2Ftestscripts-generator/lists"}