net.thucydides.core.model.features

Class ApplicationFeature

    • Constructor Detail

      • ApplicationFeature

        public ApplicationFeature(String featureId,
                          String featureName)
      • ApplicationFeature

        protected ApplicationFeature(Class<?> featureClass)
    • Method Detail

      • getName

        public String getName()
      • getFeatureClass

        public Class<?> getFeatureClass()
        The underlying feature class that represents this feature. This is used to record the original feature class in the reports and XML results files.
      • from

        public static ApplicationFeature from(Class<?> featureClass)
        Obtain an application feature instance from a given feature class. Feature instances are used for recording and reporting test results.
      • getFeatureName

        protected String getFeatureName()
        Each feature has a descriptive name. This name is usually a human-readable version of the class name, or the name provided in the ApplicationFeature annotation.
      • getId

        public String getId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object

Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.