feat: US-001 - Setup proiect Node.js
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
48
test-ralph-workflow/scripts/ralph/prd.json
Normal file
48
test-ralph-workflow/scripts/ralph/prd.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"projectName": "hello-ralph-test",
|
||||
"branchName": "main",
|
||||
"description": "Proiect minimal pentru testare workflow Ralph",
|
||||
"userStories": [
|
||||
{
|
||||
"id": "US-001",
|
||||
"title": "Setup proiect Node.js",
|
||||
"description": "Ca developer, vreau un proiect Node.js minimal cu package.json pentru că validez că Ralph poate initializa proiecte",
|
||||
"priority": 1,
|
||||
"acceptanceCriteria": [
|
||||
"package.json există cu name=\"hello-ralph-test\", version=\"1.0.0\"",
|
||||
"README.md există cu descriere proiect",
|
||||
".gitignore există cu node_modules/"
|
||||
],
|
||||
"passes": true,
|
||||
"notes": "package.json, README.md, .gitignore create. Proiect inițializat."
|
||||
},
|
||||
{
|
||||
"id": "US-002",
|
||||
"title": "Funcție hello simpla",
|
||||
"description": "Ca user, vreau o funcție hello(name) care returnează salut pentru că validez că Ralph poate scrie cod funcțional",
|
||||
"priority": 2,
|
||||
"acceptanceCriteria": [
|
||||
"src/hello.js există",
|
||||
"Funcție hello(name) returnează \"Hello, {name}!\"",
|
||||
"Exportată ca module.exports = { hello }",
|
||||
"Funcția trimite toLowerCase pe name"
|
||||
],
|
||||
"passes": false,
|
||||
"notes": ""
|
||||
},
|
||||
{
|
||||
"id": "US-003",
|
||||
"title": "Test pentru hello",
|
||||
"description": "Ca developer, vreau un test simplu pentru funcția hello pentru că validez quality checks Ralph",
|
||||
"priority": 3,
|
||||
"acceptanceCriteria": [
|
||||
"package.json include \"test\" script și dev dependency jest",
|
||||
"tests/hello.test.js există",
|
||||
"Test verifică hello(\"World\") === \"Hello, world!\"",
|
||||
"npm test passes"
|
||||
],
|
||||
"passes": false,
|
||||
"notes": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user