Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ALL - Enum constant in enum class com.arc_e_tect.gradle.gherkin.indexing.IndexingMode
-
Both features and scenarios are numbered.
- apply(Project) - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocPlugin
B
- blurb() - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Returns the value of the
blurbrecord component. - byFeatureTitle(List<ScenarioInfo>) - Static method in class com.arc_e_tect.gradle.gherkin.parser.ScenarioGrouping
-
Groups
scenariosbyScenarioInfo.featureTitle(), preserving the order in which each feature title was first encountered.
C
- classify(ScenarioInfo, List<Expression>) - Method in class com.arc_e_tect.gradle.gherkin.progress.ScenarioClassifier
-
Classifies the given scenario.
- com.arc_e_tect.gradle.gherkin - package com.arc_e_tect.gradle.gherkin
- com.arc_e_tect.gradle.gherkin.glue - package com.arc_e_tect.gradle.gherkin.glue
- com.arc_e_tect.gradle.gherkin.indexing - package com.arc_e_tect.gradle.gherkin.indexing
- com.arc_e_tect.gradle.gherkin.parser - package com.arc_e_tect.gradle.gherkin.parser
- com.arc_e_tect.gradle.gherkin.progress - package com.arc_e_tect.gradle.gherkin.progress
- com.arc_e_tect.gradle.gherkin.snippet - package com.arc_e_tect.gradle.gherkin.snippet
- count() - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Returns the value of the
countrecord component.
D
- DEFAULT_OUTPUT_FILE_NAME - Static variable in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Default name of the generated AsciiDoc output file.
- DEFAULT_SNIPPET_DIR - Static variable in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Default relative path of the directory report snippets are written to.
- DEFAULT_SOURCE_DIR - Static variable in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Default relative path of the source directory containing
.featurefiles. - Defaults - Search tag in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocPlugin
- Section
- DEFINED - Enum constant in enum class com.arc_e_tect.gradle.gherkin.progress.ScenarioStatus
-
The scenario has steps, but at least one step has no matching glue code.
- DEFINED_BLURB - Static variable in class com.arc_e_tect.gradle.gherkin.progress.ReportText
-
Explanation of the
definedstatus.
E
- equals(Object) - Method in record class com.arc_e_tect.gradle.gherkin.parser.ScenarioInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.arc_e_tect.gradle.gherkin.snippet.FeatureSnippet
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.arc_e_tect.gradle.gherkin.snippet.StatusSnippets
-
Indicates whether some other object is "equal to" this one.
F
- FEATURE - Enum constant in enum class com.arc_e_tect.gradle.gherkin.indexing.IndexingMode
-
Every feature is numbered, in the order its feature file is processed in - see
GherkinToAsciidocExtension#getIndexing()for exactly what that order is - e.g. - FeatureIndexer - Class in com.arc_e_tect.gradle.gherkin.indexing
-
Numbers
Feature/Scenariotitles directly in the source.featurefiles according to a configuredIndexingMode. - FeatureIndexer() - Constructor for class com.arc_e_tect.gradle.gherkin.indexing.FeatureIndexer
-
Creates a new
FeatureIndexer. - FeatureNameFormatter - Class in com.arc_e_tect.gradle.gherkin.snippet
-
Converts a
Featuretitle into a directory-safe camelCase name. - FeatureParser - Class in com.arc_e_tect.gradle.gherkin.parser
-
Parses a single Gherkin
.featurefile and extracts all scenarios. - FeatureParser() - Constructor for class com.arc_e_tect.gradle.gherkin.parser.FeatureParser
-
Creates a new
FeatureParserwith a pre-configuredGherkinParser. - features() - Method in record class com.arc_e_tect.gradle.gherkin.snippet.StatusSnippets
-
Returns the value of the
featuresrecord component. - FeatureSnippet - Record Class in com.arc_e_tect.gradle.gherkin.snippet
-
A single snippet file written for one
Feature, within one status. - FeatureSnippet(String, File) - Constructor for record class com.arc_e_tect.gradle.gherkin.snippet.FeatureSnippet
-
Creates an instance of a
FeatureSnippetrecord class. - featureTitle() - Method in record class com.arc_e_tect.gradle.gherkin.parser.ScenarioInfo
-
Returns the value of the
featureTitlerecord component. - featureTitle() - Method in record class com.arc_e_tect.gradle.gherkin.snippet.FeatureSnippet
-
Returns the value of the
featureTitlerecord component. - file() - Method in record class com.arc_e_tect.gradle.gherkin.snippet.FeatureSnippet
-
Returns the value of the
filerecord component. - flatFile() - Method in record class com.arc_e_tect.gradle.gherkin.snippet.StatusSnippets
-
Returns the value of the
flatFilerecord component.
G
- generate() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Task action: collects
.featurefiles, parses scenarios, and writes them to the configured AsciiDoc output file. - GenerateFeatureDocsTask - Class in com.arc_e_tect.gradle.gherkin
-
Gradle task that scans
.featurefiles and writes all scenario titles to a single AsciiDoc file. - GenerateFeatureDocsTask() - Constructor for class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Creates a new task instance.
- getGlueCodeDirs() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Directories containing the Cucumber-JVM glue code (step definitions).
- getGlueCodeDirs() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Directories containing the Cucumber-JVM glue code (step definitions) used to determine whether a scenario's steps are implemented.
- getGroupByFeature() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Whether to group scenarios by their enclosing
Featureinstead of a flat list. - getGroupByFeature() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Whether to group scenarios by their enclosing
Featurein the generated AsciiDoc, instead of a flat list. - getIncludeSubDirs() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Whether to recursively scan sub-directories of every directory in
GenerateFeatureDocsTask.getSourceDirs(). - getIncludeSubDirs() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Whether to recursively scan sub-directories of every configured directory in
GherkinToAsciidocExtension.getSourceDirs(). - getIndexing() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Whether - and how - to number
Feature/Scenariotitles directly in the source.featurefiles. - getIndexing() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Whether - and how - to number
Feature/Scenariotitles directly in the source.featurefiles. - getOutputDir() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Directory where the generated AsciiDoc file will be written.
- getOutputDir() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Directory where the generated AsciiDoc file will be written.
- getOutputFileName() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Name of the generated AsciiDoc file (without path).
- getOutputFileName() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Name of the generated AsciiDoc file (without path).
- getProjectDirectory() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Root directory of the project, used to resolve the default source directory when neither
GenerateFeatureDocsTask.getSourceDirs()norGenerateFeatureDocsTask.getSourceFile()is set. - getSnippetDir() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Directory that report snippets (
listed.adoc/defined.adoc/implemented.adoc) are written to whenGenerateFeatureDocsTask.getTrackProgress()istrue. - getSnippetDir() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Directory that the
listed.adoc/defined.adoc/implemented.adocreport snippets are written to whenGherkinToAsciidocExtension.getTrackProgress()istrue. - getSourceDirs() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Source directories containing the
.featurefiles to process. - getSourceDirs() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Source directories that contain the
.featurefiles to process. - getSourceFile() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Optional single
.featurefile to process. - getSourceFile() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
A single
.featurefile to process. - getSystemUnderTestVersion() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Version of the system under test that the reported Gherkin scenarios exercise, printed in the generated document as e.g.
- getSystemUnderTestVersion() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Version of the system under test that the reported Gherkin scenarios exercise, printed in the generated document as e.g.
- getTemplate() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Optional Mustache template used to render the report so that it references the snippets via
include::directives instead of embedding their content verbatim. - getTemplate() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Optional Mustache template used to render the generated AsciiDoc file so that it references the report snippets via
include::directives, instead of embedding their content verbatim. - getTrackProgress() - Method in class com.arc_e_tect.gradle.gherkin.GenerateFeatureDocsTask
-
Whether to classify scenarios as
listed,defined, orimplementedand include a progress summary in the generated AsciiDoc. - getTrackProgress() - Method in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Whether to classify every scenario as
listed,defined, orimplementedand include a progress summary in the generated AsciiDoc. - GherkinToAsciidocExtension - Class in com.arc_e_tect.gradle.gherkin
-
DSL extension for the Gherkin-to-AsciiDoc Gradle plugin.
- GherkinToAsciidocExtension() - Constructor for class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
For use by the Gradle-generated concrete subclass.
- GherkinToAsciidocPlugin - Class in com.arc_e_tect.gradle.gherkin
-
Gradle plugin that registers the
generateFeatureDocstask and wires thegherkinToAsciidocDSL extension into the project. - GherkinToAsciidocPlugin() - Constructor for class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocPlugin
-
Creates a new plugin instance.
- GlueCodeScanner - Class in com.arc_e_tect.gradle.gherkin.glue
-
Scans a directory of Cucumber-JVM glue code (step definition source files) and extracts every
@Given/@When/@Thenstep definition pattern as a compiledExpression. - GlueCodeScanner() - Constructor for class com.arc_e_tect.gradle.gherkin.glue.GlueCodeScanner
-
Creates a new
GlueCodeScanner. - groupByFeature() - Method in record class com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
-
Returns the value of the
groupByFeaturerecord component.
H
- hashCode() - Method in record class com.arc_e_tect.gradle.gherkin.parser.ScenarioInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.arc_e_tect.gradle.gherkin.snippet.FeatureSnippet
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.arc_e_tect.gradle.gherkin.snippet.StatusSnippets
-
Returns a hash code value for this object.
I
- IMPLEMENTED - Enum constant in enum class com.arc_e_tect.gradle.gherkin.progress.ScenarioStatus
-
The scenario has steps and every step has matching glue code.
- IMPLEMENTED_BLURB - Static variable in class com.arc_e_tect.gradle.gherkin.progress.ReportText
-
Explanation of the
implementedstatus. - IndexingMode - Enum Class in com.arc_e_tect.gradle.gherkin.indexing
-
Controls whether
Feature/Scenariotitles are numbered directly in the source.featurefiles, as configured via theindexingDSL property. - INTRO - Static variable in class com.arc_e_tect.gradle.gherkin.progress.ReportText
-
One-sentence description of what the generated document contains.
L
- label() - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Returns the value of the
labelrecord component. - LISTED - Enum constant in enum class com.arc_e_tect.gradle.gherkin.progress.ScenarioStatus
-
The scenario has a title only; it has no
Given/When/Thensteps yet. - LISTED_BLURB - Static variable in class com.arc_e_tect.gradle.gherkin.progress.ReportText
-
Explanation of the
listedstatus.
M
- Multi-project builds - Search tag in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocPlugin
- Section
N
- NAME - Static variable in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocExtension
-
Extension DSL block name, i.e.
O
- OFF - Enum constant in enum class com.arc_e_tect.gradle.gherkin.indexing.IndexingMode
-
Nothing is numbered.
P
- parse(File) - Method in class com.arc_e_tect.gradle.gherkin.parser.FeatureParser
-
Parses the given
.featurefile and returns all scenarios. - percentage() - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Returns the value of the
percentagerecord component. - ProgressReportOptions - Record Class in com.arc_e_tect.gradle.gherkin.progress
-
Configuration for
ProgressReportWriter. - ProgressReportOptions(boolean, File, File, String) - Constructor for record class com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
-
Creates an instance of a
ProgressReportOptionsrecord class. - ProgressReportWriter - Class in com.arc_e_tect.gradle.gherkin.progress
-
Writes an AsciiDoc progress report that breaks scenarios down by
ScenarioStatusand summarises the breakdown as a table of counts and percentages. - ProgressReportWriter() - Constructor for class com.arc_e_tect.gradle.gherkin.progress.ProgressReportWriter
-
Creates a new
ProgressReportWriter.
R
- reindex(List<File>, IndexingMode) - Method in class com.arc_e_tect.gradle.gherkin.indexing.FeatureIndexer
-
Rewrites every file in
featureFilesin place: strips anyFeature/Scenarionumbering added by a previous run, then applies numbering permode. - render(File, File, String, List<StatusSummary>, Map<ScenarioStatus, StatusSnippets>) - Method in class com.arc_e_tect.gradle.gherkin.progress.ReportTemplateRenderer
-
Renders
templatetooutputFile, usingsummariesandsnippetsto build the Mustache context. - ReportTemplateRenderer - Class in com.arc_e_tect.gradle.gherkin.progress
-
Renders a progress report from a user-supplied Mustache template, so that the generated AsciiDoc file references the snippets written by
SnippetWriterviainclude::directives instead of embedding their content verbatim. - ReportTemplateRenderer() - Constructor for class com.arc_e_tect.gradle.gherkin.progress.ReportTemplateRenderer
-
Creates a new
ReportTemplateRenderer. - ReportText - Class in com.arc_e_tect.gradle.gherkin.progress
-
Shared explanatory text used by both
ProgressReportWriterandReportTemplateRenderer.
S
- scan(File) - Method in class com.arc_e_tect.gradle.gherkin.glue.GlueCodeScanner
-
Recursively scans
glueCodeDirfor step definition source files and returns every step pattern found as a compiledExpression. - SCENARIO - Enum constant in enum class com.arc_e_tect.gradle.gherkin.indexing.IndexingMode
-
Every scenario is numbered, continuously across all feature files, in the same file processing order as
IndexingMode.FEATURE, e.g. - ScenarioClassifier - Class in com.arc_e_tect.gradle.gherkin.progress
-
Classifies a
ScenarioInfoasScenarioStatus.LISTED,ScenarioStatus.DEFINED, orScenarioStatus.IMPLEMENTEDbased on whether it has steps, and whether every step has matching glue code. - ScenarioClassifier() - Constructor for class com.arc_e_tect.gradle.gherkin.progress.ScenarioClassifier
-
Creates a new
ScenarioClassifier. - ScenarioGrouping - Class in com.arc_e_tect.gradle.gherkin.parser
-
Groups
ScenarioInfoinstances by theFeaturethey belong to. - ScenarioInfo - Record Class in com.arc_e_tect.gradle.gherkin.parser
-
Immutable description of a single scenario parsed from a
.featurefile. - ScenarioInfo(String, String, List<String>) - Constructor for record class com.arc_e_tect.gradle.gherkin.parser.ScenarioInfo
-
Defensively copies
stepsinto an immutable list. - scenarios() - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Returns the value of the
scenariosrecord component. - ScenarioStatus - Enum Class in com.arc_e_tect.gradle.gherkin.progress
-
Implementation progress of a single scenario, as tracked when
trackProgressis enabled. - snippetDir() - Method in record class com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
-
Returns the value of the
snippetDirrecord component. - SnippetWriter - Class in com.arc_e_tect.gradle.gherkin.snippet
-
Writes the
listed.adoc/defined.adoc/implemented.adocsnippet files that back a progress report'sinclude::directives. - SnippetWriter() - Constructor for class com.arc_e_tect.gradle.gherkin.snippet.SnippetWriter
-
Creates a new
SnippetWriter. - status() - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Returns the value of the
statusrecord component. - StatusSnippets - Record Class in com.arc_e_tect.gradle.gherkin.snippet
-
The snippet file(s) written for one
ScenarioStatus. - StatusSnippets(List<FeatureSnippet>, File) - Constructor for record class com.arc_e_tect.gradle.gherkin.snippet.StatusSnippets
-
Creates an instance of a
StatusSnippetsrecord class. - StatusSummary - Record Class in com.arc_e_tect.gradle.gherkin.progress
-
The scenarios classified under one
ScenarioStatus, along with the display text and summary figures used to render that status's heading, blurb, and summary table row. - StatusSummary(ScenarioStatus, String, String, List<ScenarioInfo>, int, String) - Constructor for record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Creates an instance of a
StatusSummaryrecord class. - steps() - Method in record class com.arc_e_tect.gradle.gherkin.parser.ScenarioInfo
-
Returns the value of the
stepsrecord component. - systemUnderTestVersion() - Method in record class com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
-
Returns the value of the
systemUnderTestVersionrecord component.
T
- TASK_NAME - Static variable in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocPlugin
-
Name of the Gradle task registered by this plugin.
- template() - Method in record class com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
-
Returns the value of the
templaterecord component. - title() - Method in record class com.arc_e_tect.gradle.gherkin.parser.ScenarioInfo
-
Returns the value of the
titlerecord component. - toDirectoryName(String) - Static method in class com.arc_e_tect.gradle.gherkin.snippet.FeatureNameFormatter
-
Converts
featureTitleinto camelCase with no spaces, e.g. - toString() - Method in record class com.arc_e_tect.gradle.gherkin.parser.ScenarioInfo
-
Returns a string representation of this record class.
- toString() - Method in record class com.arc_e_tect.gradle.gherkin.progress.ProgressReportOptions
-
Returns a string representation of this record class.
- toString() - Method in record class com.arc_e_tect.gradle.gherkin.progress.StatusSummary
-
Returns a string representation of this record class.
- toString() - Method in record class com.arc_e_tect.gradle.gherkin.snippet.FeatureSnippet
-
Returns a string representation of this record class.
- toString() - Method in record class com.arc_e_tect.gradle.gherkin.snippet.StatusSnippets
-
Returns a string representation of this record class.
U
- Usage - Search tag in class com.arc_e_tect.gradle.gherkin.GherkinToAsciidocPlugin
- Section
V
- valueOf(String) - Static method in enum class com.arc_e_tect.gradle.gherkin.indexing.IndexingMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.arc_e_tect.gradle.gherkin.progress.ScenarioStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.arc_e_tect.gradle.gherkin.indexing.IndexingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.arc_e_tect.gradle.gherkin.progress.ScenarioStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- write(File, List<ScenarioInfo>, List<Expression>, ProgressReportOptions) - Method in class com.arc_e_tect.gradle.gherkin.progress.ProgressReportWriter
-
Classifies every scenario, writes the snippet files, and writes the progress report to
outputFile. - writeStatus(File, ScenarioStatus, List<ScenarioInfo>, boolean) - Method in class com.arc_e_tect.gradle.gherkin.snippet.SnippetWriter
-
Writes the snippet file(s) for a single status.
All Classes and Interfaces|All Packages|Constant Field Values