Dev?????е???????????????????????????
???????????? ???????[ 2014/9/28 15:45:48 ] ?????????????????? ????????
??????????????????????????????????????????????????????????????????????????????????????????????80%??????????Щ??????????????????????????д???????????????????
???????????????????ж??????????????????????????????????????????????????????????????????????????????С?????????????????????????????????????????????????????????????Щ??????Σ???????????????????????ν????????????????е????????????????????????????????????????????е?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????л???????????е???????????????????????????????????????????????????
????????????????????????????????????μ??????????????????????????????????????????Ч????
1 using System;
2 using Microsoft.VisualStudio.TestTools.UnitTesting;
3
4 namespace OrderManager.Test
5 {
6 using ProductService.Contract;
7
8 /// <summary>
9 /// Product service integration tests.
10 /// </summary>
11 [TestClass]
12 public class ProductServiceIntegrationTest
13 {
14 /// <summary>
15 /// service address.
16 /// </summary>
17 public const string ServiceAddress = "http://dev.service.ProductService/";
18
19 /// <summary>
20 /// Product service get product by pid test.
21 /// </summary>
22 [TestMethod]
23 public void ProductService_GetProductByPid_Test()
24 {
25 var serviceInstance = ProductServiceClient.CreateClient(ServiceAddress);
26 var testResult = serviceInstance.GetProductByPid(0393844);
27
28 Assert.AreNotEqual(testResult?? null);
29 Assert.AreEqual(testResult.Pid?? 0393844);
30 }
31 }
32 }
?????????????????????????????????????????????????????????????DEV??????????????????????????????????????????????????????????????????????????塣
????????????????????????????????????????????????????ProductServiceClient.GetProductByPid?????????в????????????????????????????????????????????ID??Product??????????????????????????????????????????????????????????
??????DEV?????У????????????????????????????????????????????????????????????PRD?????????????????Σ??????????????????????????????????????????????host??????????????????????????????????????????????host???????????????????????????
?????????????????????????ν??????????? ????????????????????????????????????????????????????????????????Σ????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11