Hi,
I was wondering what would be the best way to set up (and remove) a test customer object (with database entries) and cart for testing purposes? This would need to be done from code since it will be an NUnit test.
Thanks
Joe
Hi,
I was wondering what would be the best way to set up (and remove) a test customer object (with database entries) and cart for testing purposes? This would need to be done from code since it will be an NUnit test.
Thanks
Joe
The best way to add bulk customers in the DB would be adding them via WSI, refer to this manual http://manual.aspdotnetstorefront.com/wsi/
Then, see this thread to programatically add items to the cart.
Hope that helps.
Can I call the WSI from test code and load a customer that way? What I am trying to do is set up a test so that I can load a customer into the database and as a customer object and do tests.