Difference between revisions of "Release Testing"

From Opentaps Wiki
Jump to navigationJump to search
(Release Testing)
(Release Testing)
 
(3 intermediate revisions by the same user not shown)
Line 15: Line 15:
 
** warehouse -- receive products on purchase orders, verify that the inventory in the warehouse has increased.
 
** warehouse -- receive products on purchase orders, verify that the inventory in the warehouse has increased.
 
** warehouse - Pack & ship orders, verify that the inventory has decreased.
 
** warehouse - Pack & ship orders, verify that the inventory has decreased.
** warehouse -- create a production run for PROD_COST, schedule and confirm it, make sure that it shows up on the calendar, complete the production run, and make sure that the inventory for PROD_COST has increased and the inventory for MAT_A_COST and MAT_B_COST have decreased.
+
** warehouse -- create a production run for PROD_MANUF, schedule and confirm it, make sure that it shows up on the calendar, complete the production run, and make sure that the inventory for PROD_MANUF has increased and the inventory for MAT_A_COST and MAT_B_COST have decreased.
 
** Order - create sales and purchase orders
 
** Order - create sales and purchase orders
 
** Financials - see invoices and trial balances. Trial balances should always be equal on debit & credit.
 
** Financials - see invoices and trial balances. Trial balances should always be equal on debit & credit.
  
* Make sure ant run-tests works  
+
* Make sure ant run-tests works
  
* make opentaps release package
+
==Release Packaging==
** from a fresh checkout, run ant run-install
+
 
** change the release version in framework/common/config/CommonUiLabels.xml
+
* from a fresh checkout, run ant run-install
** make sure the GWT configuration is set to compile for all locals and all browser in  
+
* change the release version in framework/common/config/CommonUiLabels.xml
*** uncomment all extend-property
+
* make sure the GWT configuration is set to compile for all locals and all browser in opentaps-common/src/common/org/opentaps/gwt/common/common.gwt.xml
*** comment out <set-property name="user.agent" ..>
+
** uncomment all extend-property
 +
** comment out <set-property name="user.agent" ..>
 
* don't forget to regenerate the labels after that
 
* don't forget to regenerate the labels after that
** remove logs in runtime/logs
+
* run ant (so the GWT modules are rebuilt)
** make a zip file with the root directory which should be opentaps-{version} (for example opentaps-1.0.2). Also note that we do include the .svn directories in the release (pointing to the trunk).
+
* remove logs in runtime/logs
** unzip the file and verify that the data has been installed
+
* make a zip file with the root directory which should be opentaps-{version} (for example opentaps-1.0.2). Also note that we do include the .svn directories in the release (pointing to the trunk).
 +
* unzip the file and verify that the data has been installed
  
 
'''Make sure your package contains the demo data installed in localderby database.'''
 
'''Make sure your package contains the demo data installed in localderby database.'''

Latest revision as of 12:59, 21 February 2011

Release Testing

These are some general tests, which should be performed prior to releases:

  • checkout opentaps from the SVN
  • Make sure that ant run-install works.
  • Then check the basic functionality for doing the following:
    • CRM - create leads, qualify them, convert them to accounts, create notes, opportunities, tasks, events
    • Catalog - create new categories and products, make sure they show up on ecommerce
    • ecommerce - see new products, sign up as new customer, place orders, see order history
    • purchasing -- creating new supplier with contact information
    • catalog - create purchasing information for supplier
    • purchasing -- create purchase orders for product
    • warehouse -- receive products on purchase orders, verify that the inventory in the warehouse has increased.
    • warehouse - Pack & ship orders, verify that the inventory has decreased.
    • warehouse -- create a production run for PROD_MANUF, schedule and confirm it, make sure that it shows up on the calendar, complete the production run, and make sure that the inventory for PROD_MANUF has increased and the inventory for MAT_A_COST and MAT_B_COST have decreased.
    • Order - create sales and purchase orders
    • Financials - see invoices and trial balances. Trial balances should always be equal on debit & credit.
  • Make sure ant run-tests works

Release Packaging

  • from a fresh checkout, run ant run-install
  • change the release version in framework/common/config/CommonUiLabels.xml
  • make sure the GWT configuration is set to compile for all locals and all browser in opentaps-common/src/common/org/opentaps/gwt/common/common.gwt.xml
    • uncomment all extend-property
    • comment out <set-property name="user.agent" ..>
  • don't forget to regenerate the labels after that
  • run ant (so the GWT modules are rebuilt)
  • remove logs in runtime/logs
  • make a zip file with the root directory which should be opentaps-{version} (for example opentaps-1.0.2). Also note that we do include the .svn directories in the release (pointing to the trunk).
  • unzip the file and verify that the data has been installed

Make sure your package contains the demo data installed in localderby database.