BasicAcceptanceTest

Differences between revisions 5 and 6
Revision 5 as of 2010-02-05 07:17:26
Size: 1802
Editor: 76-14-31-215
Comment:
Revision 6 as of 2010-02-05 07:18:35
Size: 1798
Editor: 76-14-31-215
Comment:
Deletions are marked like this. Additions are marked like this.
Line 34: Line 34:
   * "wxBanker 0.6.1.0 source tarball"
   * "wxBanker 0.6.1.0 installer for Ubuntu"
   * "wxBanker 0.7.0 source tarball"
   * "wxBanker 0.7.0 installer for Ubuntu"

Basic Acceptance Test

To generate a test .deb from ezpgk: ./package.py wxbanker 0.7 .0 These are the steps to perform on a fresh machine to ensure a new version of wxBanker works correctly.

  1. Ensure wxBanker is NOT installed.
  2. Install the package.
  3. Ensure wxBanker appears in Applications -> Office.

  4. Launch it, ensure you are welcomed. Close it.
  5. Launch again, make sure you are not welcomed.
  6. sudo apt-get install language-pack-fr-base language-pack-ru-base
  7. Run the tests: python -c "from wxbanker.tests import alltests; alltests.main()"
  8. Add an account.
  9. Enter a $1 transaction with no description.
  10. Add another account.
  11. Enter a 0.50 transfer from A to B.
  12. Create a recurring transaction for today for 0.25, transfer from A.
  13. Make sure the pop-up appears. Click it, make sure the transactions are entered.
  14. Click the summary tab, make sure it loads correctly.
  15. Click the Help -> About. Make sure it displays the correct version.

  16. Click License, make sure it displays the GPL. Close the About dialog.
  17. Click Help -> View FAQs, make sure it opens in a browser.

  18. Change the currency via Settings -> Currency to JPY, make sure everything changes.

  19. Import a CSV fixture from /usr/share/wxbanker/fixtures/*.csv, make sure it works.
  20. LC_ALL=ru_RU.utf8 wxbanker => make sure the app is localized in currency AND language.

Releasing

This uses 0.7 as an example:

  1. ./package.py wxbanker 0.7 .0 dev users stable lp
  2. https://launchpad.net/wxbanker/+milestone/0.7/+addrelease

  3. https://launchpad.net/wxbanker/0.7/0.7/+adddownloadfile

    • Upload LP artifacts
      • "wxBanker 0.7.0 source tarball"
      • "wxBanker 0.7.0 installer for Ubuntu"

wxBanker/BasicAcceptanceTest (last edited 2013-11-22 22:17:52 by cpe-70-112-14-162)