VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: murdok on October 11, 2012, 01:01:51 am

Title: virtuemart concurrent buy same product UNIT TEST
Post by: murdok on October 11, 2012, 01:01:51 am
hi, are there some kind of test about the inventory management in concurrency? i mean like a test of a same product,like buying of a product with inventory existence of 1 unit, i know that "vm" checks inventory existence in checkout steps but the inventory is not reduced till the checkout success,right?. while the products are still in the cart session of the user the inventory keeps the same, ┬┐right?, so is there some kind of test about this in the last moment of the checkout?

Thanks. ;D


http://docs.joomla.org/Unit_Testing
http://dev.virtuemart.net/projects/virtuemart/wiki/Test_cases