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