public class ApplicationFeature
extends java.lang.Object
@Feature
public class MyFeature {
public class MyUserStory1() {}
public class MyUserStory2() {}
}
These classes are then used in the test cases and easyb stories to refer to the tested user stories, e.g.
@Test
@TestsStory(MyUserStory1.class)
public void should_do_this() {...}
| Constructor and Description |
|---|
ApplicationFeature(java.lang.String id,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static ApplicationFeature |
from(java.lang.Class<?> featureClass)
Obtain an application feature instance from a given feature class.
|
java.lang.String |
getId() |
java.lang.String |
getName() |
int |
hashCode() |
public ApplicationFeature(java.lang.String id,
java.lang.String name)
public java.lang.String getName()
public static ApplicationFeature from(java.lang.Class<?> featureClass)
public java.lang.String getId()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object