Paragraph Glossary Example
pytest 9.2.0 pytest-given 0.6.0
Module:
A Member borrows an Item for a Loan
✓ passed 0ms
Given
a Member and an Item
When
the library lends the Item
Then
the Loan ends on its Due Date
A Renewal moves the Due Date later
✓ passed 0ms
Given
a Loan of an Item
When
the Member asks for a Renewal
Then
the Due Date moves three weeks later
A late return costs a Fine
✓ passed 0ms
Given
a Loan that is past its Due Date
When
the Member returns the Item four days late
Then
the Member owes a Fine
A timely return costs no Fine
✓ passed 0ms
Given
a Loan that is not yet past its Due Date
When
the Member returns the Item
Then
the Member owes no Fine
Glossary
7 terms
Lending
Member
A person registered to borrow from the library.
4 scenarios
Item
A single physical copy that a Member can borrow.
4 scenarios
Loan
The period in which a Member holds an Item.
4 scenarios
Avoid: Checkout, Rental (in billing exports only)
lend
Hand an Item to a Member as a Loan.
1 scenario
Due Date
The day a Loan ends, after which a Fine accrues.
4 scenarios
Penalties
Fine
A charge on a Member for keeping a Loan past its Due Date.
2 scenarios
Q&A
Renewal
An extension of a Loan, which moves its Due Date later.
1 scenario
No terms match this filter.