Generate test data
From ADempiere
This Wiki is read-only for reference purposes to avoid broken links.
Generate test data - Functional Specifications
Overview
Test data around Sales Orders is randomly generated. Useful when masses of random data is needed, for example when testing functionality or generating Forecast test data,
Purpose
Scope
References
Design Considerations
Assumptions
Dependencies
Constraints
Glossary
Functional Requirements
Functional team
- Volunteers for analyzing:
- Mario Calderon 23:00, 22 June 2013 (UTC) - Functional Review
Result of review by Mario Calderon, June 22nd, 2013
- Generation as GardenAdmin
- Call Process Generate test data
- Parameters
- Organization
- Warehouse
- Target document type: all possible document types for orders
- Price list version
- Sales representative
- Transaction date
- Count
- Result
- As many Sales Orders as in count and the date range specified are generated
- Documents are completed
- Product, date, number of lines, quantity are randomly generated
- Error: even 0 as quantity is generated
- Depending of selected document type, following documents are generated
- If a Credit Order is selected, Shipment and Invoice are created and completed
- If a POS Order is selected, Shipment, Invoice and Payment are created and completed. Caveat: in order for the Payments to be documented in Cash lines, the Cash Journal must be opened for the date generated, which can become a tedious task. Perhaps is POS not so appropriate.
- Parameters
- Summary
- A very easy way of generating random mass data
- Excepting with POS Orders, a simple, no-brainer task
- Conclusion: a very helpful tool for demos and testing
User roles & profiles
Business process definition
User stories
Functional requirements based on business processes
User Interface Mockups
Technical Requirements
Technical team
- Volunteers for reviewing:
- Mario Calderon 13:54, 20 August 2013 (UTC) - Technical Review
Result of review by Mario Calderon, August 20th, 2013
- Only one process involved: C_GenerateTestData
- Classname: org.compiere.process.GenerateTestData
- License: OK
- Class, method and variable nomenclature:OK
- Code readable and well-structured