VS2010???????????????
???????????? ???????[ 2013/10/24 15:51:06 ] ????????
?????????????У????--???????????
???????????:
????????????????????????????????????????????????????
????1.2??????????????
??????1??????????????????????????????????????????????????????μ?????????????????“???????”??
??????2??????????????????????μ??????????????“????????????????”?п????????????????“TestProject2”?????“TestProject2”??“AddTest”??????“TestProject2”???????????????????????????????????????????DLL“Microsoft.VisualStudio.QualityTools.UnitTestFrame”
????2????д???????
?????????????????????????????????????????????????????????????????????????????б????????????????????????????????????????
????1??Assert??????
????Assert.Inconclusive() ??????δ?????????
????Assert.AreEqual() ??????????????????????????????????
????AreSame() ????????????????????????????????????????????????
????AreNotSame() ??????????????????????????????????????????????
????Assert.IsTrue() ?????????????????True??????True????????????
????Assert.IsFalse() ?????????????????False??????False????????????
????Assert.IsNull() ????????????????????????????????????????
????Assert.IsNotNull() ???????????????????????????????????????
????2??CollectionAssert??????
????????????????????????????
????StringAssert??????
?????????????????
????StringAssert.Contains
????StringAssert.Matches
????StringAssert.tartWith
????3??????????????????
?????????????????????????????????????????????????????????С?????????????ж???????????????????????
????3.1??ACCESS???????????????
????1?????????????????????????
????2?????????????????????????ó????????????????????????????F4???????????????????
????3????“?????????????”???????“????”?????е??????????????????? (…)??????“????????”??????????г??????????????????????? ODBC??Microsoft SQL Server ?? Microsoft Access??????????????????????????????????????????????????????????????????????????????????????????????????????“?????????????”?????????????????????????????????????????洢????
????4????????????У???????Acess??data.mdb??????“???”??????????????“???????????”?????????????????????????úá?
????5???????????????????????????????????????????????“????”?????????е??????б?????????г??????????????е???????б???????????????е????????????????е??е?????“?????????????”???????????????“?????????”?????????????????????????洢??????
????6????“??????????”???????“???”??“???”???????“???”?????????????????????м???????????
??????????????????????????????????У?
????7????????????
??????? TestContext ??? DataRow ?? DataConnection ????????????????????е????????????????TestContext ??? DataRow????????????????
????8??Acess??????е???
??????
???·???
??????????????????
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