GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-ticket/features/ticket_creation.feature at master · sjaandi-project/python-ticket Expand file tree/ Copy pathticket_creation.featureMore file actions 98 lines (80 loc) · 3.9 KB / Copy pathticket_creation.featureFile metadata and controls98 lines (80 loc) · 3.9 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 Feature: Ticket Creation As a user I want to create tickets with various options So that I can track tasks in my project Background: Given a clean tickets directory Scenario: Create a basic ticket with title When I run "ticket create 'My first ticket'" Then the command should succeed And the output should match a ticket ID pattern And a ticket file should exist with title "My first ticket" Scenario: Create a ticket with default title When I run "ticket create" Then the command should succeed And the output should match a ticket ID pattern And a ticket file should exist with title "Untitled" Scenario: Create a ticket with description When I run "ticket create 'Test ticket' -d 'This is the description'" Then the command should succeed And the created ticket should contain "This is the description" Scenario: Create a ticket with type When I run "ticket create 'Bug ticket' -t bug" Then the command should succeed And the created ticket should have field "type" with value "bug" Scenario: Create a ticket with priority When I run "ticket create 'High priority' -p 0" Then the command should succeed And the created ticket should have field "priority" with value "0" Scenario: Create a ticket with assignee When I run "ticket create 'Assigned ticket' -a 'John Doe'" Then the command should succeed And the created ticket should have field "assignee" with value "John Doe" Scenario: Create a ticket with external reference When I run "ticket create 'External ticket' --external-ref 'JIRA-123'" Then the command should succeed And the created ticket should have field "external-ref" with value "JIRA-123" Scenario: Create a ticket with parent Given a ticket exists with ID "parent-001" and title "Parent ticket" When I run "ticket create 'Child ticket' --parent parent-001" Then the command should succeed And the created ticket should have field "parent" with value "parent-001" Scenario: Create a ticket with design notes When I run "ticket create 'Design ticket' --design 'Use microservices'" Then the command should succeed And the created ticket should contain "## Design" And the created ticket should contain "Use microservices" Scenario: Create a ticket with acceptance criteria When I run "ticket create 'Story ticket' --acceptance 'Should pass all tests'" Then the command should succeed And the created ticket should contain "## Acceptance Criteria" And the created ticket should contain "Should pass all tests" Scenario: Ticket has default status open When I run "ticket create 'New ticket'" Then the command should succeed And the created ticket should have field "status" with value "open" Scenario: Ticket has default priority 2 When I run "ticket create 'Normal priority'" Then the command should succeed And the created ticket should have field "priority" with value "2" Scenario: Ticket has default type task When I run "ticket create 'Default type'" Then the command should succeed And the created ticket should have field "type" with value "task" Scenario: Ticket has empty deps by default When I run "ticket create 'No deps'" Then the command should succeed And the created ticket should have field "deps" with value "[]" Scenario: Ticket has empty links by default When I run "ticket create 'No links'" Then the command should succeed And the created ticket should have field "links" with value "[]" Scenario: Ticket has created timestamp When I run "ticket create 'Timestamped'" Then the command should succeed And the created ticket should have a valid created timestamp Scenario: Tickets directory created on demand Given the tickets directory does not exist When I run "ticket create 'First ticket'" Then the command should succeed And the tickets directory should exist |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |