BasicAcceptanceTest
1802
Comment:
|
1798
|
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.
- Ensure wxBanker is NOT installed.
- Install the package.
Ensure wxBanker appears in Applications -> Office.
- Launch it, ensure you are welcomed. Close it.
- Launch again, make sure you are not welcomed.
- sudo apt-get install language-pack-fr-base language-pack-ru-base
- Run the tests: python -c "from wxbanker.tests import alltests; alltests.main()"
- Add an account.
- Enter a $1 transaction with no description.
- Add another account.
- Enter a 0.50 transfer from A to B.
- Create a recurring transaction for today for 0.25, transfer from A.
- Make sure the pop-up appears. Click it, make sure the transactions are entered.
- Click the summary tab, make sure it loads correctly.
Click the Help -> About. Make sure it displays the correct version.
- Click License, make sure it displays the GPL. Close the About dialog.
Click Help -> View FAQs, make sure it opens in a browser.
Change the currency via Settings -> Currency to JPY, make sure everything changes.
- Import a CSV fixture from /usr/share/wxbanker/fixtures/*.csv, make sure it works.
LC_ALL=ru_RU.utf8 wxbanker => make sure the app is localized in currency AND language.
Releasing
This uses 0.7 as an example:
- ./package.py wxbanker 0.7 .0 dev users stable lp
https://launchpad.net/wxbanker/+milestone/0.7/+addrelease
Set date today, grab description from https://launchpad.net/wxbanker/0.7
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"
- Upload LP artifacts
wxBanker/BasicAcceptanceTest (last edited 2013-11-22 22:17:52 by cpe-70-112-14-162)