Verification
Shows the verification method and fit criterion of each requirement of the Requirements chapter, functional requirements per use case and non-functional requirements per kind, in the same order as the requirements.
Verification of functional requirements
| ID |
Requirement |
Verification method |
Fit criterion |
| R01 |
ISBN format check |
Test |
Entering a 13-digit value with a wrong check digit, or a 10-digit value, is rejected; a correct 13-digit value is accepted. |
| R02 |
No duplicate ISBN registration |
Test |
Entering a registered ISBN shows the registered book and abandons the registration. |
| ID |
Requirement |
Verification method |
Fit criterion |
| R03 |
Supplier registration with name and contact details |
Test |
A registered supplier appears in the list of delivery sources, and selecting it records that supplier on the delivery. |
| ID |
Requirement |
Verification method |
Fit criterion |
| R04 |
Stock addition on delivery |
Test |
A stock inquiry right after confirming a delivery shows, for each book on the lines, the stock quantity before confirmation plus the delivered quantity. |
| R05 |
Rejection of unregistered books on delivery |
Test |
Specifying an unregistered ISBN adds no line, and a prompt to register the book first is shown. |
| ID |
Requirement |
Verification method |
Fit criterion |
| R06 |
Stock deduction on sales notification |
Test |
A stock inquiry right after a sales notification shows, for each notified book, the stock quantity before the notification minus the sold quantity. |
| R07 |
Pending sales for unregistered books |
Test |
Sending a notification with an unregistered ISBN is acknowledged, and the sale appears as pending in the clerk's review queue. |
| R08 |
Alert on sales exceeding stock |
Test |
Notifying a sale of quantity 2 for a book with stock quantity 1 leaves the stock quantity at -1 and shows the book to the clerk as needing attention. |
| ID |
Requirement |
Verification method |
Fit criterion |
| R21 |
Stock posting on pending sale review |
Test |
For a sale pending because of an unregistered ISBN, registering the book and confirming the review reduces the book's stock quantity by the sold quantity and shows the sale as confirmed in the stock movement history. |
| ID |
Requirement |
Verification method |
Fit criterion |
| R09 |
Stock reset on stocktake |
Test |
A stock inquiry right after confirming a stocktake shows, for each book, the counted quantity entered in the stocktake. |
| R10 |
Recording of stocktake differences |
Test |
After a stocktake is confirmed, its record shows the baseline stock quantity, the counted quantity and the difference for each book. |
| R11 |
No stock movement during a stocktake |
Test |
Confirming a delivery, notifying a sale and confirming a pending sale review during a stocktake are all refused, and accepted once the stocktake is confirmed. |
| ID |
Requirement |
Verification method |
Fit criterion |
| R12 |
Book search by title and ISBN |
Test |
Entering part of a title lists every book whose title contains it; entering an ISBN lists only that book. |
| R13 |
Display of stock movement history |
Test |
The history of a book that went through one delivery, one sale and one stocktake shows the three movements in chronological order, each with its kind of business and quantity. |
Verification of non-functional requirements
| ID |
Requirement |
Verification method |
Fit criterion |
| R14 |
Acceptance of sales notifications from the payment service |
Test |
A notification in the format agreed with the payment service receives an acknowledgement; a malformed one receives a response other than an acknowledgement. |
| R15 |
Use from browsers on in-store devices |
Demonstration |
The main scenario of every use case can be completed in the standard browser of the PCs and tablets used in the store. |
| ID |
Requirement |
Verification method |
Fit criterion |
| R16 |
Response time of stock inquiries |
Test |
With 10,000 books registered, the results of a partial title search appear within 2 seconds. |
| R17 |
Concurrent use by several clerks |
Test |
Delivery registration and stock inquiry performed at the same time from 5 devices all complete, and the stock quantities remain consistent. |
| R18 |
Preservation of stock movement records |
Inspection |
No operation to delete or alter a record is offered to users, and records less than one year old appear in the stock movement history. |
| ID |
Requirement |
Verification method |
Fit criterion |
| R19 |
Self-contained web application |
Demonstration |
With the route to the payment service cut off, the main scenario of every use case other than sales posting can be completed. |
| R20 |
ISBN as the identifier of a book |
Inspection |
The only number that refers to a book on screens and in exchanges with the payment service is the ISBN. |