BasicAcceptanceTest

Revision 14 as of 2010-08-10 04:32:07

Clear message

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 --yes
  7. Run the tests: python -c "from wxbanker.tests import alltests; alltests.main()"
  8. Add an account, enter a $1 transaction with no description.
  9. Add another account, enter a 0.50 transfer from A to B.
  10. Create a recurring transaction for today for 0.25, transfer from A.
  11. Make sure the pop-up appears. Click it, make sure the transactions are entered.
  12. Click the summary tab, make sure it loads correctly.
  13. Click the Help -> About. Make sure it displays the correct version.

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

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

Releasing

To do a beta/RC release:

  1. make sure new templates are up and email wxbanker-translators
  2. run through basic acceptance test
  3. push to dev PPA (like: 0.7~beta~ppa1)
  4. email wxbanker-users (like: https://lists.launchpad.net/wxbanker-users/msg00004.html)

  5. tweet from wxbanker re: announcement (like: http://twitter.com/wxbanker/status/19408307177)

To do a final release (this uses 0.7 as an example):

  1. bzr merge lp:~mrooney/wxbanker/translations-autoexport && python -m wxbanker/templater && bzrci "sync launchpad translations export in preparation for release" && bzr push

  2. . ./package.py wxbanker 0.7 .0 dev users stable lp
  3. ./release.py (creates release from milestone, marks bugs released, uploads artifacts)
  4. Make LP announcement: https://launchpad.net/wxbanker/+announce

  5. Blog on mrooney.blogspot.com
  6. Tweet blog post from wxBanker
  7. RT from MikeRooney

  8. Email users mailing list with link to post
  9. File update request bug in Ubuntu (./update.py)
  10. Relax.