Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write unit and feature tests #5

Open
27 of 29 tasks
jameslkingsley opened this issue May 25, 2017 · 0 comments
Open
27 of 29 tasks

Write unit and feature tests #5

jameslkingsley opened this issue May 25, 2017 · 0 comments

Comments

@jameslkingsley
Copy link
Owner

jameslkingsley commented May 25, 2017

  • Unit
    • Basket
      • Items are instance of ItemCollection
      • Payments are instance of PaymentCollection
      • Summaries are instance of Summary
      • Summaries->Balance is instance of Balance
      • Can empty basket
      • Can get the instance
      • Can update the basket without events
      • Can update the basket with events
    • Items
      • Can add item to basket
      • Can remove item from basket
      • Can update item in basket
      • Can remove all items in basket
      • Can get count of items (inc qty)
      • Can check item is in basket
      • Can get the balance of items
      • Balance of items is instance of Number
    • Payments
      • Can add payment to basket
      • Can remove payment from basket
      • Can update payment in basket
      • Can remove all payments in basket
      • Can check payment is in basket
      • Can get the balance of payments
      • Balance of payment is instance of Number
  • Feature
  • Browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant