|
Griffon 1.2.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.griffon.cli.shell.AbstractGriffonCommand
org.codehaus.griffon.cli.shell.command.CreateUnitTestCommand
@Command(scope = "griffon",
name = "create-unit-test",
description = "Creates a new Griffon unit test. A unit test requires that you mock out access to dynamic methods, but executes a lot quicker")
public class CreateUnitTestCommand
extends AbstractGriffonCommand
| Field Summary | |
|---|---|
private String |
archetype
|
private String |
fileType
|
private String |
name
|
private boolean |
skipPackagePrompt
|
| Fields inherited from class AbstractGriffonCommand | |
|---|---|
| env, nonInteractive |
| Constructor Summary | |
CreateUnitTestCommand()
|
|
| Field Detail |
|---|
@Option(name = "--archetype",
description = "Archetype to be searched for templates.",
required = false)
private String archetype
@Option(name = "--file-type",
description = "Source file type",
required = false)
private String fileType
@Argument(index = 0,
name = "name",
description = "The name of the test to be created.",
required = false)
private String name
@Option(name = "--skip-package-prompt",
description = "Skips the usage of the application's default package if the name of the class is not fully qualified.",
required = false)
private boolean skipPackagePrompt
| Constructor Detail |
|---|
CreateUnitTestCommand()
Groovy Documentation