[
https://issues.jboss.org/browse/FORGE-1944?page=com.atlassian.jira.plugin...
]
Antonio Goncalves commented on FORGE-1944:
------------------------------------------
And what about an abstraction like the one we have with building (Maven or Gradle) ?
Instead of {{junit-}} commands we could have something more abstract, such as {{test-}}
and let us choose between Junit and TestNG. The Arquillian addon does that :
{code}
// Sets up a test framework
test-setup --testFramework JUnit / TestNG --version
// Creates a new test case
test-new-test --named TheClassNameTest
// Adds a new test to a test case
test-add-test --named theMethodName --targetClass TheClassNameTes
// Generates a test case for a given class (generates one test per public method)
test-create-test --targets TheClassToGenerateTests
...
{code}
Create Junit commands
---------------------
Key: FORGE-1944
URL:
https://issues.jboss.org/browse/FORGE-1944
Project: Forge
Issue Type: Feature Request
Components: Developer Tools - Java
Affects Versions: 2.7.0.Final
Reporter: George Gastaldi
Assignee: Ivan St. Ivanov
Labels: Starter
Fix For: 2.x Future
Create a command to create a JUnit test case and setup Junit in a project
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)