-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b492d3c
commit 48ce636
Showing
8 changed files
with
130 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
Feature: create an ADR File with meta | ||
|
||
In order to have better integration with other tools | ||
As an ADR writer | ||
I want to add meta information to the ADR files | ||
|
||
|
||
Background: | ||
|
||
ADRGen allows creating meta parameters in ADR Files with the command | ||
|
||
adrgen create "My ADR file" -m "param1, param2" | ||
|
||
This command creates the ADR file with a Markdown meta section on the top of the file and adds the | ||
specified params to it, for example: | ||
|
||
--- | ||
param1: "" | ||
param2: "" | ||
--- | ||
|
||
# My ADR file | ||
|
||
|
||
Scenario: create an ADR file with meta params | ||
|
||
Given there is not any config file | ||
And there is no ADR files | ||
When the user specify the My architecture decision title | ||
And the meta parameters param1, param2 are specified | ||
And the create command is executed | ||
Then the 0001-my-architecture-decision.md ADR file is created | ||
And has the following content: | ||
""" | ||
--- | ||
param1: "" | ||
param2: "" | ||
--- | ||
# 1. My architecture decision | ||
Date: {date} | ||
## Status | ||
Status: proposed | ||
## Context | ||
What is the issue that we're seeing that is motivating this decision or change? | ||
## Decision | ||
What is the change that we're proposing and/or doing? | ||
## Consequences | ||
What becomes easier or more difficult to do because of this change? | ||
""" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd ./docs/features/features_definition_steps | ||
cd ./docs/features/features_definition_steps || exit | ||
godog ../ | ||
cd ../../.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters