49 lines
1.9 KiB
JSON
49 lines
1.9 KiB
JSON
{
|
|
"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": true,
|
|
"notes": "src/hello.js creat cu hello(name) care aplică toLowerCase pe name. Exportat ca module.exports = { hello }."
|
|
},
|
|
{
|
|
"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": true,
|
|
"notes": "Jest instalat ca devDependency, test script configurat în package.json. tests/hello.test.js verifică hello(\"World\") === \"Hello, world!\". npm test passes."
|
|
}
|
|
]
|
|
}
|