Interface TestingFacet
-
- All Superinterfaces:
org.jboss.forge.addon.facets.Facet<org.jboss.forge.addon.projects.Project>,org.jboss.forge.addon.projects.ProjectFacet
- All Known Implementing Classes:
AbstractTestingFacet,JUnitTestingFacet,TestNGTestingFacet
public interface TestingFacet extends org.jboss.forge.addon.projects.ProjectFacetProvides basic functionality for managing project tests. A project can use one of the supported testing frameworks.- Author:
- Ivan St. Ivanov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getAvailableVersions()Returns a list of the versions of the selected testing frameworks, that are available in the central repository.List<org.jboss.forge.addon.dependencies.Dependency>getFrameworkDependencies()Returns a list of all the selected testing framework dependencies.StringgetFrameworkName()Returns the testing framework name.voidsetFrameworkVersion(String version)Sets the version of the testing framework.
-
-
-
Method Detail
-
getFrameworkName
String getFrameworkName()
Returns the testing framework name.
-
getFrameworkDependencies
List<org.jboss.forge.addon.dependencies.Dependency> getFrameworkDependencies()
Returns a list of all the selected testing framework dependencies.
-
getAvailableVersions
List<String> getAvailableVersions()
Returns a list of the versions of the selected testing frameworks, that are available in the central repository.
-
setFrameworkVersion
void setFrameworkVersion(String version)
Sets the version of the testing framework. Make sure to call this method prior to installing this facet.
-
-