Skip to content

Commit

Permalink
Add some specs
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenam committed Jan 27, 2024
1 parent 38a99b0 commit f25c5d8
Show file tree
Hide file tree
Showing 10 changed files with 101 additions and 7 deletions.
17 changes: 17 additions & 0 deletions app/alm/requirements/Managing items.md
Original file line number Diff line number Diff line change
@@ -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.
9 changes: 9 additions & 0 deletions app/alm/specifications/Sync with Jira.md
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 10 additions & 0 deletions app/git-based-items/requirements/Support for Cucmber files.md
Original file line number Diff line number Diff line change
@@ -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.
11 changes: 11 additions & 0 deletions app/git-based-items/specifications/Cucumber parser.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions features/alm.feature
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions features/gitBasedItems.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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|
|src/**/*.feature|
|test/**/*.feature|
17 changes: 17 additions & 0 deletions specs-in-code/alm/requirements/Managing items.md
Original file line number Diff line number Diff line change
@@ -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.
9 changes: 9 additions & 0 deletions specs-in-code/alm/specifications/Sync with Jira.md
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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.
11 changes: 11 additions & 0 deletions specs-in-code/git-based-items/specifications/Cucumber parser.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit f25c5d8

Please sign in to comment.