Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3acacf040c | |||
| 62469d5a42 |
@@ -0,0 +1,6 @@
|
|||||||
|
# DEV6.2 - Projet API Java (mode TDD)
|
||||||
|
|
||||||
|
## Membres du groupe
|
||||||
|
|
||||||
|
- Amary Aurélien
|
||||||
|
- Raban Hugo
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
# language: en
|
||||||
|
|
||||||
|
Feature: Manage books
|
||||||
|
|
||||||
|
Background:
|
||||||
|
Given the system has the following books:
|
||||||
|
| isbn | title | author | editor | publication date | price | stock | categories | description | language |
|
||||||
|
| 9782700284324 | La quête d'Ewilan Tome 1 | Pierre Bottero | Rageot | 2026-02-18 | 7.90 | 150 | Fantasy | | fr |
|
||||||
|
| 9782266293730 | Phobos Tome 1 | Victor Dixen | Pocket Jeunesse | 2019-11-07 | 8.70 | 85 | Science-Fiction | | fr |
|
||||||
|
| 9782075187541 | Harry Potter Tome 1 | J.K. Rowling | Gallimard Jeune | 2023-05-25 | 8.95 | 127 | Fantastique | Un classique | fr |
|
||||||
|
|
||||||
|
Scenario: Set a new book
|
||||||
|
|
||||||
|
Scenario: Retrieve a book by isbn
|
||||||
|
|
||||||
|
Scenario: Set new price
|
||||||
|
|
||||||
|
Scenario: Remove from stock for purchase
|
||||||
|
|
||||||
|
Scenario: Add books to stock
|
||||||
|
|
||||||
|
Scenario: Edit description
|
||||||
|
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# language: en
|
||||||
|
|
||||||
|
Feature: Submit a review
|
||||||
|
|
||||||
|
Background:
|
||||||
|
Given the system has the following books:
|
||||||
|
| clientId | livreIsbn | note | commentaire | dateAchat |
|
||||||
|
|
||||||
|
|
||||||
|
Scenario: Submit book review
|
||||||
|
|
||||||
|
Scenario: Replace my book review
|
||||||
|
|
||||||
|
Scenario: Delete my book review
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# language: en
|
||||||
|
|
||||||
|
Feature: Buy a book
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# language: en
|
||||||
|
|
||||||
|
Feature: Create subscription
|
||||||
|
|
||||||
|
Background:
|
||||||
|
Given the system has the following books:
|
||||||
|
| clientId | duree | mode de paiment | date de début |
|
||||||
|
|
||||||
|
|
||||||
|
Scenario: Subscribe
|
||||||
|
|
||||||
|
Scenario: Read begining date of subscription
|
||||||
|
|
||||||
|
Scenario: Read ending date of subscription
|
||||||
|
|
||||||
|
Scenario: Read the monthly amount
|
||||||
Reference in New Issue
Block a user