From f25c5d8d262377b3a7ece2c20ea9df2bf1ad811d Mon Sep 17 00:00:00 2001 From: Milan Dzenovljanovic Date: Sat, 27 Jan 2024 01:10:14 +0100 Subject: [PATCH] Add some specs --- app/alm/requirements/Managing items.md | 17 +++++++++++++++++ app/alm/specifications/Sync with Jira.md | 9 +++++++++ .../requirements/Support for Cucmber files.md | 10 ++++++++++ .../specifications/Cucumber parser.md | 11 +++++++++++ features/alm.feature | 4 ++-- features/gitBasedItems.feature | 10 +++++----- .../alm/requirements/Managing items.md | 17 +++++++++++++++++ .../alm/specifications/Sync with Jira.md | 9 +++++++++ .../requirements/Support for Cucmber files.md | 10 ++++++++++ .../specifications/Cucumber parser.md | 11 +++++++++++ 10 files changed, 101 insertions(+), 7 deletions(-) create mode 100644 app/alm/requirements/Managing items.md create mode 100644 app/alm/specifications/Sync with Jira.md create mode 100644 app/git-based-items/requirements/Support for Cucmber files.md create mode 100644 app/git-based-items/specifications/Cucumber parser.md create mode 100644 specs-in-code/alm/requirements/Managing items.md create mode 100644 specs-in-code/alm/specifications/Sync with Jira.md create mode 100644 specs-in-code/git-based-items/requirements/Support for Cucmber files.md create mode 100644 specs-in-code/git-based-items/specifications/Cucumber parser.md diff --git a/app/alm/requirements/Managing items.md b/app/alm/requirements/Managing items.md new file mode 100644 index 0000000..bc46980 --- /dev/null +++ b/app/alm/requirements/Managing items.md @@ -0,0 +1,17 @@ +--- +itemId: req-managing-items +itemType: Requirement +itemHasParent: KP-123 +--- + +# Managing items in Ketryx + +## Introduction + +Ketryx shall support the following transition flows: + +- **Draft** -> **In Review** -> **Approved** -> **Released** +- **Draft** -> **In Review** -> **Rejected** +- **Draft** -> **In Review** -> **Approved** -> **Released** -> **Closed** + +After the transition flow is completed, the item shall be locked for editing and the latest state shall be synced back to Jira. diff --git a/app/alm/specifications/Sync with Jira.md b/app/alm/specifications/Sync with Jira.md new file mode 100644 index 0000000..3b0ff5e --- /dev/null +++ b/app/alm/specifications/Sync with Jira.md @@ -0,0 +1,9 @@ +--- +itemId: sw-sync-with-jira +itemType: Software Item Spec +itemFulfills: req-managing-items +--- + +# Sync with Jira module + +This module is responsible for synchronizing configuration items between Git and Jira. It is implemented as a [Kafka Streams](https://kafka.apache.org/documentation/streams/) application. \ No newline at end of file diff --git a/app/git-based-items/requirements/Support for Cucmber files.md b/app/git-based-items/requirements/Support for Cucmber files.md new file mode 100644 index 0000000..fff05a7 --- /dev/null +++ b/app/git-based-items/requirements/Support for Cucmber files.md @@ -0,0 +1,10 @@ +--- +itemId: req-cucumber-files +itemType: Requirement +--- + +# Support for Cucumber files + +## Introduction + +Ketryx shall be able to parse Cucumber files and display them in a human-readable format. \ No newline at end of file diff --git a/app/git-based-items/specifications/Cucumber parser.md b/app/git-based-items/specifications/Cucumber parser.md new file mode 100644 index 0000000..482e465 --- /dev/null +++ b/app/git-based-items/specifications/Cucumber parser.md @@ -0,0 +1,11 @@ +--- +itemId: sw-cucumber-parser +itemType: Software Item Spec +itemFulfills: req-cucumber-files +--- + +# Cucumber parser + +## Introduction + +This module is responsible for parsing Cucumber files and displaying them in a human-readable format. \ No newline at end of file diff --git a/features/alm.feature b/features/alm.feature index df915bc..26d3695 100644 --- a/features/alm.feature +++ b/features/alm.feature @@ -1,7 +1,7 @@ Feature: Application Lifecycle Management - @tests:KP-1234 - Scenario: + @tests:KP-1234 @id:alm-1 + Scenario: Create a new project Given I have a project with a feature file When I run the feature file Then I should see the results \ No newline at end of file diff --git a/features/gitBasedItems.feature b/features/gitBasedItems.feature index 5f10f8c..7d67f53 100644 --- a/features/gitBasedItems.feature +++ b/features/gitBasedItems.feature @@ -3,12 +3,12 @@ Feature: Git-based Items Background: Given User is logged into Ketryx - @tests:KP-456 @tests:md1-id + @tests:KP-456 @tests:req-cucumber-parser Scenario: Glob patterns can be defined and properly saved when creating a new Project When User creates a project to manage Git-based Items with the following glob pattern - |src/**/*.md| - |test/**/*.md| + |src/**/*.feature| + |test/**/*.feature| And User navigates to "Settings" page Then User should see following glob patterns for Git-based Items: - |src/**/*.md| - |test/**/*.md| \ No newline at end of file + |src/**/*.feature| + |test/**/*.feature| \ No newline at end of file diff --git a/specs-in-code/alm/requirements/Managing items.md b/specs-in-code/alm/requirements/Managing items.md new file mode 100644 index 0000000..bc46980 --- /dev/null +++ b/specs-in-code/alm/requirements/Managing items.md @@ -0,0 +1,17 @@ +--- +itemId: req-managing-items +itemType: Requirement +itemHasParent: KP-123 +--- + +# Managing items in Ketryx + +## Introduction + +Ketryx shall support the following transition flows: + +- **Draft** -> **In Review** -> **Approved** -> **Released** +- **Draft** -> **In Review** -> **Rejected** +- **Draft** -> **In Review** -> **Approved** -> **Released** -> **Closed** + +After the transition flow is completed, the item shall be locked for editing and the latest state shall be synced back to Jira. diff --git a/specs-in-code/alm/specifications/Sync with Jira.md b/specs-in-code/alm/specifications/Sync with Jira.md new file mode 100644 index 0000000..3b0ff5e --- /dev/null +++ b/specs-in-code/alm/specifications/Sync with Jira.md @@ -0,0 +1,9 @@ +--- +itemId: sw-sync-with-jira +itemType: Software Item Spec +itemFulfills: req-managing-items +--- + +# Sync with Jira module + +This module is responsible for synchronizing configuration items between Git and Jira. It is implemented as a [Kafka Streams](https://kafka.apache.org/documentation/streams/) application. \ No newline at end of file diff --git a/specs-in-code/git-based-items/requirements/Support for Cucmber files.md b/specs-in-code/git-based-items/requirements/Support for Cucmber files.md new file mode 100644 index 0000000..fff05a7 --- /dev/null +++ b/specs-in-code/git-based-items/requirements/Support for Cucmber files.md @@ -0,0 +1,10 @@ +--- +itemId: req-cucumber-files +itemType: Requirement +--- + +# Support for Cucumber files + +## Introduction + +Ketryx shall be able to parse Cucumber files and display them in a human-readable format. \ No newline at end of file diff --git a/specs-in-code/git-based-items/specifications/Cucumber parser.md b/specs-in-code/git-based-items/specifications/Cucumber parser.md new file mode 100644 index 0000000..482e465 --- /dev/null +++ b/specs-in-code/git-based-items/specifications/Cucumber parser.md @@ -0,0 +1,11 @@ +--- +itemId: sw-cucumber-parser +itemType: Software Item Spec +itemFulfills: req-cucumber-files +--- + +# Cucumber parser + +## Introduction + +This module is responsible for parsing Cucumber files and displaying them in a human-readable format. \ No newline at end of file