Class FeatureNameFormatter
java.lang.Object
com.arc_e_tect.gradle.gherkin.snippet.FeatureNameFormatter
Converts a
Feature title into a directory-safe camelCase name.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoDirectoryName(String featureTitle) ConvertsfeatureTitleinto camelCase with no spaces, e.g.
-
Method Details
-
toDirectoryName
ConvertsfeatureTitleinto camelCase with no spaces, e.g."User authentication"becomes"userAuthentication".- Parameters:
featureTitle- the Feature's title, as parsed from the.featurefile- Returns:
- the camelCase directory name; empty if
featureTitleis blank
-