Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Commerce Server Analysis > Unit Testing
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 84 of 152
Post > Topic >>

Unit Testing

by "=?Utf-8?B?Tm9ybQ==?=" <anonymous@[EMAIL PROTECTED] > Apr 9, 2004 at 07:21 AM

Does anyone write unit test for their Commerce Server code? I am just
getting started. I tried putting this in a test:

ProductCatalog catalog =
CommerceContext.Current.CatalogSystem.GetCatalog("Test Catalog");

Of course it fails, CommerceContext.Current is null. The question is: How
do I initialize Commerce Server for my unit test so that I have a valid
context?
 




 2 Posts in Topic:
Unit Testing
"=?Utf-8?B?Tm9ybQ==?  2004-04-09 07:21:06 
Re: Unit Testing
"Vinayak Tadas [MS]&  2004-04-12 14:49:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 9:47:24 CST 2008.