[forge-issues] [JBoss JIRA] (FORGE-1944) Create Junit commands

Antonio Goncalves (JIRA) issues at jboss.org
Tue Aug 11 04:47:02 EDT 2015


    [ https://issues.jboss.org/browse/FORGE-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097142#comment-13097142 ] 

Antonio Goncalves commented on FORGE-1944:
------------------------------------------

Some ideas of command : 

{code}
// Sets up JUnit
junit-setup --junitVersion
// Creates a new test case
junit-new-test --named TheClassNameTest
// Adds a new test to a test case
junit-add-test --named theMethodName --targetClass TheClassNameTes
// Generates a test case for a given class (generates one test per public method)
junit-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)


More information about the forge-issues mailing list