User Tools

Site Tools


qa:billing_test_cases

This is an old revision of the document!


Below are test cases used when testing the Conditional Negative Balances branch and identify some combinations of settings that should be tested when changes are made to billing.

No Prohibit Negative Balance Settings Are Enabled, Payment Made

Note: tested with negative balance settings unset and with Prohibit Negative Balances (default) setting set to False.

  • Check out item.
  • Mark as lost. Price of item (29.99) added to the record.
  • Pay the entire 29.99 fee.
  • Check the item in.

Expected Behavior: Produces negative balance in the amount of 29.99

Negative Balance Settings Are Unset, No Payment Made

  • Check out item.
  • Mark as lost. Price of item (29.99) added to the record.
  • Check in item

Expected Behavior: $0 balance on transaction. No history of the transaction visible to the user through the GUI.

Basic No Negative Balance Test

Relevant settings: Prohibit Negative Balances (default) set to True.

  • Check out item
  • Mark as lost. Price of item (12.99) added to the record.
  • Apply $12.99 payment to the transaction.
  • Check the item back in.

Expected Behavior: $0 balance on the transaction.

Prohibit Negative Balances with Partial Payment

Relevant settings: Prohibit Negative Balances (default) set to True.

  • Check out item
  • Mark as lost. Price of item (3.99) added to record.
  • Pay 1.99, leaving 2.00 owed on the transaction.
  • Check the item back in.

Expected behavior: $0 balance on the transaction

qa/billing_test_cases.1435850984.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.