public class ApplicationFeature extends 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() {...}
| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationFeature(Class<?> featureClass) |
|
ApplicationFeature(String id,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static ApplicationFeature |
from(Class<?> featureClass)
Obtain an application feature instance from a given feature class.
|
String |
getId() |
String |
getName() |
int |
hashCode() |
protected ApplicationFeature(Class<?> featureClass)
public String getName()
public static ApplicationFeature from(Class<?> featureClass)
public String getId()
Copyright © 2023. All rights reserved.