Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #37065 All Revisions ] Back to Issue ]
Summary 0037065: Test to verify attributes functionality are pending
Revision 2017-11-29 17:15 by guilleaer
Description Some test to verify attributes functionality are pending to be developed


Stock validation module
-----------------------
-> Currently we don't have any test which verifies that without having any valid bin in the store marked as overissue (old allow negative stock) the stock validation module doesn't allow to sell the product

Stock Validation Module together with Use Attribute preference
--------------------------------------------------------------
-> Verify that error is shown if nothing is written in the input destinated to write attribute values

-> Using a product which expect 2 attributes (Balaclava) write just one value. An error should be shown and the line shouldn't be added to the ticket

-> Using a product which expect expiration date attribute (Balaclava) write an incorrect string or use a wrong date format. An error should be shown and the line shouldn't be added to the ticket. then the ticket can be removed

-> Using a product which does not have at all inventory (not present in m_storage_detail) try to add it to the ticket. It should work. Then the ticket can be removed (this test assumes that at least there is one bin marked as overissue in the store)

-> Using a product which does not have stock but it is present in m_storage_detail with stock 0. Try to add it to the ticket. It should work. Then the ticket can be removed (this test assumes that the bin which is being pointed by m_storage_detail is marked as overissue)

-> Using a product which does not have stock but it is present in m_storage_detail with stock 0. Try to add it to the ticket. It should not allow to sell it. Then the ticket can be removed (this test assumes that the bin which is being pointed by m_storage_detail is NOT marked as overissue)

-> Basic test using a product (to be defined) which works with several attributes (apart from lot, serialNo, expdate). All of the attributes are marked as "instance attribute" and the value is mandatory.

-> Same as tested above using an attribute which is marked as list.
One test should try to give a value which is not in the list of possible values. In that case the product can't be added to the ticket

//Test for issue 37308

Add to sample data 2 different att set instance ID with the same description
For instance:
AttsetIntanceId: A Description: #0925_16-11-2019
AttsetIntanceId: B Description: #0925_16-11-2019
Add to the sample data stock (1000) for product "Balaclava" with AttSetIntanceId "B"
  -> new entry in m_storage_detail pointing to B
Sell product using the description (0925_16-11-2019)
Ensure that att set instance selected is the one which is related to a m_storage_detail with stock
Revision 2017-10-13 15:16 by guilleaer
Description Some test to verify attributes functionality are pending to be developed


Stock validation module
-----------------------
-> Currently we don't have any test which verifies that without having any valid bin in the store marked as overissue (old allow negative stock) the stock validation module doesn't allow to sell the product

Stock Validation Module together with Use Attribute preference
--------------------------------------------------------------
-> Verify that error is shown if nothing is written in the input destinated to write attribute values

-> Using a product which expect 2 attributes (Balaclava) write just one value. An error should be shown and the line shouldn't be added to the ticket

-> Using a product which expect expiration date attribute (Balaclava) write an incorrect string or use a wrong date format. An error should be shown and the line shouldn't be added to the ticket. then the ticket can be removed

-> Using a product which does not have at all inventory (not present in m_storage_detail) try to add it to the ticket. It should work. Then the ticket can be removed (this test assumes that at least there is one bin marked as overissue in the store)

-> Using a product which does not have stock but it is present in m_storage_detail with stock 0. Try to add it to the ticket. It should work. Then the ticket can be removed (this test assumes that the bin which is being pointed by m_storage_detail is marked as overissue)

-> Using a product which does not have stock but it is present in m_storage_detail with stock 0. Try to add it to the ticket. It should not allow to sell it. Then the ticket can be removed (this test assumes that the bin which is being pointed by m_storage_detail is NOT marked as overissue)

-> Basic test using a product (to be defined) which works with several attributes (apart from lot, serialNo, expdate). All of the attributes are marked as "instance attribute" and the value is mandatory.

-> Same as tested above using an attribute which is marked as list.
One test should try to give a value which is not in the list of possible values. In that case the product can't be added to the ticket
Revision 2017-10-13 15:16 by guilleaer
Description Some test to verify attributes functionality are pending to be developed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker