課程時間
🔧【Tools工具安裝】5:07:24
🎬【Preview導讀】2:49:20
🎬【TestEpisode5(第5篇)-FluentAssertionsPart2】22:30:32
課程章節
請按「Preview」預覽章節。
- FAQ-Handout,SampleCode(常見問題-講義、範例程式碼)
- (P1)關於測試 (12:33)
- (P2)UnitTest(單元測試)、IntegrationTest(整合測試)、EndToEndTest(端對端測試) (9:58)
- (P3-1)導讀Test(1to5)(.NetFramework) (20:19)
- (P3-2)導讀Test(1)(.NetFramework) (19:36)
- (P3-3)導讀Test(2)(.NetFramework) (31:58)
- (P3-4)導讀Test(3)(.NetFramework) (23:22)
- (P3-5)導讀Test(4)(.NetFramework) (23:50)
- (P3-6)導讀Test(5)(.NetFramework) (16:21)
- (T80-1)前置準備,製作IntCollection (10:03)
- (T80-2)用MSTest、NUnit的CollectionAssertion、equal、compare測試IntCollection (6:50)
- (T80-3)用FluentAssertions的equal、compare測試IntCollection (13:54)
- (T80-4)用FluentAssertions的Concatenate測試IntCollection (10:06)
- (T80-5)用FluentAssertions的Count測試IntCollection (6:30)
- (T80-6)用FluentAssertions的StartWith、EndWith測試IntCollection (3:08)
- (T80-7)用MSTest、NUnit的CollectionAssertion、Subset測試IntCollection (5:45)
- (T80-8)用FluentAssertions的Subset測試IntCollection (3:14)
- (T80-9)用MSTest、NUnit的CollectionAssertion、Contains測試IntCollection (3:22)
- (T80-10)用MSTest、NUnit的CollectionAssertion、AllItemsAreNotNull測試IntCollection (2:06)
- (T80-11)用FluentAssertions的Contains、NotContain、NotContainNulls測試IntCollection (13:20)
- (T80-12)用FluentAssertions的ContainInOrder、ContainSingle、OnlyContain測試IntCollection (9:09)
- (T80-13)用MSTest、NUnit的CollectionAssertion、AllItemsAreUnique測試IntCollection (1:27)
- (T80-14)用FluentAssertions的OnlyHaveUniqueItems測試IntCollection (4:49)
- (T80-15)用MSTest、NUnit的CollectionAssertion、IsOrdered測試IntCollection (2:24)
- (T80-16)用FluentAssertions的BeInAscendingOrder、BeInDescendingOrder測試IntCollection (4:24)
- (T80-17)用MSTest、NUnit的CollectionAssertion、AllItemsAreInstancesOfType測試IntCollection (2:33)
- (T80-18)用FluentAssertions的ContainItemsAssignableTo、AllBeAssignableTo、AllBeOfType測試IntCollection (7:08)
- (T80-19)把FluentAssertions從NUnit複製到MSTest (2:11)
- (T81-1)前置準備,製作StringCollection (7:17)
- (T81-2)用MSTest、NUnit的CollectionAssertion、equal、compare測試StringCollection (6:21)
- (T81-3)用FluentAssertions的equal、compare、ContainEquivalentOf測試IntCollection (7:43)
- (T81-4)用FluentAssertions的Concatenate測試IntCollection (5:22)
- (T81-5)用FluentAssertions的Count測試IntCollection (7:32)
- (T81-6)用FluentAssertions的StartWith、EndWith測試IntCollection (3:00)
- (T81-7)用MSTest、NUnit的CollectionAssertion、Subset測試IntCollection (2:32)
- (T81-8)用FluentAssertions的Subset測試IntCollection (3:55)
- (T81-9)用MSTest、NUnit的CollectionAssertion、Contains、AllItemsAreNotNull測試IntCollection (4:01)
- (T81-10)用FluentAssertions的Contains、NotContain、NotContainNulls測試IntCollection (7:16)
- (T81-11)用FluentAssertions的ContainInOrder、ContainSingle、OnlyContain測試IntCollection (7:39)
- (T81-12)用MSTest、NUnit的CollectionAssertion、AllItemsAreUnique測試IntCollection (1:46)
- (T81-13)用FluentAssertions的OnlyHaveUniqueItems測試IntCollection (1:41)
- (T81-14)用MSTest、NUnit的CollectionAssertion、IsOrdered測試IntCollection (2:02)
- (T81-15)用FluentAssertions的BeInAscendingOrder、BeInDescendingOrder測試IntCollection (2:32)
- (T81-16)用MSTest、NUnit的CollectionAssertion、AllItemsAreInstancesOfType測試IntCollection (1:46)
- (T81-17)用FluentAssertions的ContainItemsAssignableTo、AllBeAssignableTo、AllBeOfType測試IntCollection (2:49)
- (T81-18)把FluentAssertions從NUnit複製到MSTest (1:12)
- (T82-1)前置準備,製作Gamer,此Class的Equal、Compare邏輯在別的Class (33:26)
- (T82-2)前置準備,製作Power,此Class的Equal、Compare邏輯在別的Class (19:28)
- (T82-3)前置準備,製作Object (13:41)
- (T82-4)前置準備,製作ObjectCollection (9:10)
- (T82-5)討論MSTest、NUnit測試有在別的Class寫入Equal、Compare邏輯的單一PowerObject (5:09)
- (T82-6)討論MSTest、NUnit測試有在別的Class寫入Equal、Compare邏輯的PowerCollection (5:24)
- (T82-7)討論MSTest、NUnit測試有在別的Class寫入Equal、Compare邏輯的單一GamerObject (2:48)
- (T82-8)討論MSTest、NUnit測試有在別的Class寫入Equal、Compare邏輯的GamerCollection (4:06)
- (T82-9)用MSTest、NUnit的equal、compare、Equivalent測試ObjectCollection (10:39)
- (T82-10)用FluentAssertions的equal、compare測試ObjectCollection (4:47)
- (T82-11)用FluentAssertions的BeEquivalentTo、ContainEquivalentOf、AllBeEquivalentTo測試ObjectCollection (22:29)
- (T82-12)用FluentAssertions的Concatenate測試ObjectCollection (11:33)
- (T82-13)用FluentAssertions的Count測試ObjectCollection (5:44)
- (T82-14)用FluentAssertions的StartWith、EndWith測試ObjectCollection (14:19)
- (T82-15)用MSTest、NUnit的Subset測試ObjectCollection (7:36)
- (T82-16)用FluentAssertions的Subset測試ObjectCollection (4:21)
- (T82-17)用MSTest、NUnit的Contains、AllItemsAreNotNull測試ObjectCollection (6:31)
- (T82-18)用FluentAssertions的Contain、NotContain和NotContainNulls測試ObjectCollection (13:07)
- (T82-19)用FluentAssertions的ContainInOrder、ContainSingle、OnlyContain測試ObjectCollection (10:20)
- (T82-20)用MSTest、NUnit的AllItemsAreUnique測試ObjectCollection (3:49)
- (T82-21)用FluentAssertions的OnlyHaveUniqueItems測試ObjectCollection (6:16)
- (T82-22)用MSTest、NUnit的IsOrdered測試ObjectCollection (2:52)
- (T82-23)用FluentAssertions的BeInAscendingOrder、BeInDescendingOrder測試ObjectCollection (8:10)
- (T82-24)用MSTest、NUnit的AllItemsAreInstancesOfType測試ObjectCollection (4:44)
- (T82-25)用FluentAssertions的ContainItemsAssignableTo、AllBeAssignableTo、AllBeOfType測試ObjectCollection (20:10)
- (T82-26)用FluentAssertions的SatisfyRespectively測試ObjectCollection (10:10)
- (T82-27)把FluentAssertions從NUnit複製到MSTest (4:29)
- (T83-1)前置準備,製作Gamer,此Class裡面有Equal邏輯 (34:47)
- (T83-2)前置準備,製作Gamer,此Class裡面有Compare邏輯 (23:54)
- (T83-3)前置準備,製作Power,此Class裡面有Equal、Compare邏輯 (27:01)
- (T83-4)前置準備,製作Object (17:09)
- (T83-5)前置準備,製作ObjectCollection (10:28)
- (T83-6)討論MSTest、NUnit測試含有Equal、Compare邏輯的Class的單一PowerObject (12:52)
- (T83-7)討論MSTest、NUnit測試含有Equal、Compare邏輯的Class的PowerCollection (2:53)
- (T83-8)討論MSTest、NUnit測試含有Equal、Compare邏輯的Class的單一GamerObject (4:41)
- (T83-9)討論MSTest、NUnit測試含有Equal、Compare邏輯的Class的GamerCollection (3:41)
- (T83-10)用MSTest、NUnit的equal、compare、Equivalent測試ObjectCollection (10:22)
- (T83-11)用FluentAssertions的equal、compare測試ObjectCollection (8:15)
- (T83-12)用FluentAssertions的BeEquivalentTo、ContainEquivalentOf、AllBeEquivalentTo測試ObjectCollection (20:54)
- (T83-13)用FluentAssertions的Concatenate測試ObjectCollection (7:19)
- (T83-14)用FluentAssertions的Count測試ObjectCollection (3:05)
- (T83-15)用FluentAssertions的StartWith、EndWith測試ObjectCollection (15:58)
- (T83-16)用MSTest、NUnit的Subset測試ObjectCollection (3:31)
- (T83-17)用FluentAssertions的Subset測試ObjectCollection (2:16)
- (T83-18)用MSTest、NUnit的Contains、AllItemsAreNotNull測試ObjectCollection (5:18)
- (T83-19)用FluentAssertions的Contain、NotContain、NotContainNulls測試ObjectCollection (11:40)
- (T83-20)用FluentAssertions的ContainInOrder、ContainSingle、OnlyContain測試ObjectCollection (7:46)
- (T83-21)用MSTest、NUnit的AllItemsAreUnique測試ObjectCollection (2:48)
- (T83-22)用FluentAssertions的OnlyHaveUniqueItems測試ObjectCollection (5:17)
- (T83-23)用MSTest、NUnit的IsOrdered測試ObjectCollection (3:01)
- (T83-24)用FluentAssertions的BeInAscendingOrder、BeInDescendingOrder測試ObjectCollection (3:18)
- (T83-25)用MSTest、NUnit的AllItemsAreInstancesOfType測試ObjectCollection (5:10)
- (T83-26)用FluentAssertions的ContainItemsAssignableTo、AllBeAssignableTo、AllBeOfType測試ObjectCollection (17:19)
- (T83-27)用FluentAssertions的SatisfyRespectively測試ObjectCollection (6:53)
- (T83-28)把FluentAssertions從NUnit複製到MSTest (3:13)
- (T84-1)前置準備,製作Int、String的Dictionary (15:56)
- (T84-2)討論MSTest、NUnit的equal、Equivalent測試Int、String的Dictionary (10:38)
- (T84-3)用FluentAssertions的equal、Equivalent測試Int、String的Dictionary (5:41)
- (T84-4)用FluentAssertions的Concatenate測試Int、String的Dictionary (5:35)
- (T84-5)用FluentAssertions的Count測試Int、String的Dictionary (6:14)
- (T84-6)討論MSTest、NUnit的Subset測試Int、String的Dictionary (4:01)
- (T84-7)討論MSTest、NUnit的Contains測試Int、String的Dictionary (8:06)
- (T84-8)用FluentAssertions的Contain、NotContain測試Int、String的Dictionary (11:04)
- (T84-9)用FluentAssertions的ContainKey、ContainValue測試Int、String的Dictionary (6:27)
- (T84-10)討論MSTest、NUnit的AllItemsAreUnique測試Int、String的Dictionary (7:06)
- (T84-11)討論MSTest、NUnit的AllItemsAreInstancesOfType測試Int、String的Dictionary (3:11)
- (T84-12)用FluentAssertions的(ContainItems、AllBe)AssignableTo、AllBeOfType測試Int、String的Dictionary (4:16)
- (T84-13)用FluentAssertions的SatisfyRespectively測試Int、String的Dictionary (4:47)
- (T84-14)把FluentAssertions從NUnit複製到MSTest (4:09)
- (T85-1)前置準備,製作Gamer,此Class的Equal、Compare邏輯在別的Class (20:50)
- (T85-2)前置準備,製作Power,此Class的Equal、Compare邏輯在別的Class (6:24)
- (T85-3)前置準備,製作Object (11:54)
- (T85-4)前置準備,製作ObjectCollection (10:06)
- (T85-5)討論MSTest、NUnit的equal、Equivalent測試在別的Class有Equal、Compare邏輯的單一PowerObject (7:30)
- (T85-6)討論MSTest、NUnit的equal、Equivalent測試在別的Class有Equal、Compare邏輯的(Int或String)、Power的Dictionary (24:00)
- (T85-7)討論FluentAssertions的equal、Equivalent測試在別的Class有Equal、Compare邏輯的(Int或String)、Power的Dictionary (9:34)
- (T85-8)用FluentAssertions的Concatenate測試(Int或String)、Power的Dictionary (6:21)
- (T85-9)用FluentAssertions的Count測試(Int或String)、Power的Dictionary (3:28)
- (T85-10)用MSTest、NUnit的Subset測試(Int或String)、Power的Dictionary (4:44)
- (T85-11)用MSTest、NUnit的Contains測試(Int或String)、Power的Dictionary (1:58)
- (T85-12)用FluentAssertions的Contain測試(Int或String)、Power的Dictionary (6:29)
- (T85-13)用FluentAssertions的ContainKey(s)、ContainValue(s)測試(Int或String)、Power的Dictionary (6:05)
- (T85-14)用MSTest、NUnit的AllItemsAreInstancesOfType測試(Int或String)、Power的Dictionary (4:45)
- (T85-15)FluentAssertions的(ContainItems、AllBe)AssignableTo、AllBeOfType測試(Int或String)、Power的Dictionary (8:37)
- (T85-16)用FluentAssertions的SatisfyRespectively測試(Int或String)、Power的Dictionary (2:10)
- (T85-17)把FluentAssertions從NUnit複製到MSTest (6:45)
- (T86-1)前置準備,製作Gamer,此Class裡面有Equal、Compare邏輯 (17:32)
- (T86-2)前置準備,製作Power,此Class裡面有Equal、Compare邏輯 (5:27)
- (T86-3)前置準備,製作Object (6:43)
- (T86-4)前置準備,製作ObjectCollection (6:59)
- (T86-5)討論MSTest、NUnit的equal、Equivalent測試含有Equal、Compare邏輯的單一PowerObject (11:27)
- (T86-6)討論MSTest、NUnit的equal、Equivalent測試含有Equal、Compare邏輯的(Int或String)、Power的Dictionary (11:56)
- (T86-7)討論FluentAssertions的equal、Equivalent測試含有Equal、Compare邏輯的(Int或String)、Power的Dictionary (9:51)
- (T86-8)用FluentAssertions的Concatenate測試(Int或String)、Power的Dictionary (4:36)
- (T86-9)用FluentAssertions的Count測試(Int或String)、Power的Dictionary (4:15)
- (T86-10)用MSTest、NUnit的Subset測試(Int或String)、Power的Dictionary (5:15)
- (T86-11)用MSTest、NUnit的Contains測試(Int或String)、Power的Dictionary (2:19)
- (T86-12)用FluentAssertions的Contain測試(Int或String)、Power的Dictionary (4:12)
- (T86-13)用FluentAssertions的ContainKey(s)、ContainValue(s)測試(Int或String)、Power的Dictionary (4:47)
- (T86-14)用MSTest、NUnit的AllItemsAreInstancesOfType測試(Int或String)、Power的Dictionary (2:55)
- (T86-15)FluentAssertions的(ContainItems、AllBe)AssignableTo、AllBeOfType測試(Int或String)、Power的Dictionary (7:30)
- (T86-16)用FluentAssertions的SatisfyRespectively測試(Int或String)、Power的Dictionary (4:16)
- (T86-17)把FluentAssertions從NUnit複製到MSTest (5:27)
- (T87-1)簡介Xml (3:47)
- (T87-2)前置準備,製作Xml檔案 (13:42)
- (T87-3)前置準備,製作GamerClass (4:55)
- (T87-4)用Linq讀取Xml,回傳IEnumerable (10:57)
- (T87-5)用Linq、YieldReturn讀取Xml,回傳IEnumerable (5:48)
- (T87-6)用NUnit測試Xml的資料 (15:13)
- (T87-7)用Linq的GetFilePath、GetXDocument讀取Xml (3:38)
- (T87-8)Linq的GetXElements、GetXElementByIndex、GetXAttributeByXElementNameAndIndexByXAttributeName讀取Xml (5:13)
- (T87-9)討論MSTest的TestInitialize和TestCleanup (6:28)
- (T87-10)用FluentAssertions的HaveRoot、HaveElement測試XDocument (14:02)
- (T87-11)用FluentAssertions的HaveValue、HaveAttribute、HaveElement測試XElement (17:03)
- (T87-12)用FluentAssertions的HaveValue測試XAttribute (5:14)
- (T87-13)用FluentAssertions的BeEquivalentTo測試XDocument、XElement (7:07)
- (T87-14)用FluentAssertions的Concatenate測試Xml (5:26)
- (T87-15)把FluentAssertions從NUnit複製到MSTest (3:15)
- (T89-1)簡介Exception (1:35)
- (T89-2)前置準備,製作普通Exception (3:08)
- (T89-3)前置準備,製作自訂Exception (8:46)
- (T89-4)用NUnit測試Exception (10:00)
- (T89-5)用MSTest測試Exception (7:10)
- (T89-6)用FluentAssertions測試普通Exception (4:32)
- (T89-7)用FluentAssertions測試自訂Exception (17:13)
- (T89-8)把FluentAssertions從NUnit複製到MSTest (2:22)
- (T89-9)FluentAssertions還有什麼可以學 (4:20)
🔴如果您在HiSKIO上購買了課程,則無需在Teachable重新購買相同課程。
請注意,Teachable Pay的發票無法提供給台灣公司報稅,如果需要台灣發票報稅,請去HiSKIO購買。
Teachable可能會產大約5%的「海外交易費」(詳情請諮詢您的發卡機構),為了學生權益,請使用「10%off」折價券
「Bundle」(組合包)更划算!
#「.Net Framework」相關系列「Bundle」(組合包)
- 🚀「包含5堂課」B-2-TSQL、C#、Linq、MVC、API同步攻略(Click here)
- 🚀「包含6堂課」B-3-EF(.NetFramework)學程第1-6篇(Click here)
- 🚀「包含5堂課」B-4-單元整合測試學程第1-5篇(Click here)
- 🚀「包含16堂課」B-5-扎實打底.NetFramework學程-TSQL、C#、LINQ、MVC、API、EF第1-6篇、測試第1-5篇(Click here)
-
🚀「IT工具人學院全部課程」B-1-1-All Course Membership全能學生證(Click here)
.Net Framework Serious(學程)
注意: 因為此系列已經沒有新東西可以教了,所以這個學程不會再加入新內容了!
#請來這邊看「.Net Framework Serious(學程)」簡介(Click here)
- 🚀2-1-TSQL(.NetFramework)扎實打底(Click here)
- 🚀2-2-C#(.NetFramework)深入解析(Click here)
- 🚀2-3-Linq(.NetFramework)完全攻略(Click here)
- 🚀2-4-Asp.NetMVC(.NetFramework)完全精通(Click here)
- 2-5A-EF(1to3)(.NetFramework)
- 🚀2-5A-1-EntityFrameworkEpisode1(第1篇)-CodeFirst、DBFirst(Click here)
- 🚀2-5A-2-EntityFrameworkEpisode2(第2篇)-FluentAPI、DataAnnotation(Click here)
- 🚀2-5A-3-EntityFrameworkEpisode3(第3篇)-UnitOfWorkWithRepository(Click here)
- 2-6B-Test(1to5)(.NetFramework)
- 🚀2-6B-1-TestEpisode1(第1篇)-TestFramework(測試框架)-MSTest、NUnit(Click here)
- 🚀2-6B-2-TestEpisode2(第2篇)-MockingFramework(隔離框架)-NSubstitute、Moq(Click here)
- 🚀2-6B-3-TestEpisode3(第3篇)-UnitTest(單元測試)、IntegrationTest(整合測試)(Click here)
- 🚀2-6B-4-TestEpisode4(第4篇)-FluentAssertionsPart1(Click here)
- 🚀2-6B-5-TestEpisode5(第5篇)-FluentAssertionsPart2(Click here)(👈😁你現在在此!)
- 2-7B-EF(4to6)(.NetFramework)PocoGenerator
- 🚀2-7B-4-EntityFrameworkEpisode4(第4篇)-PocoGenerator(Click here)
- 🚀2-7B-5-EntityFrameworkEpisode5(第5篇)-Test、UnitOfWorkWithRepositoryPart1(Click here)
- 🚀2-7B-6-EntityFrameworkEpisode6(第6篇)-Test、UnitOfWorkWithRepositoryPart2(Click here)
-
🚀2-8-Asp.NetMvcApi(.NetFramework)(VS2017)扎實打底(Click here)
本課簡介
Hi My name is Kevin. 我是一名移民到澳大利亞的軟體工程師,個人專注於各種技術和使用者界面的開發與研究。
【TestEpisode4(第4篇)-FluentAssertionsPart1】和【TestEpisode5(第5篇)-FluentAssertionsPart2】是一門銜接一門的「.Net Framework學程」中其中一個課程。
用來寫"UnitTest"(單元測試)的比較流行的"TestFrameworks"(測試框架)有MSTest、xUnit、NUnit、Gallio、MBUnit、MSpec、NSpec、FluentAssertion...etc。MSTest是一定要學的,因為MSTest是VisualStudio內建的。剩下的"TestFramework"(測試框架)都是要安裝"ThirdPartyTool"才能執行的,NUnit、FluentAssertion是其中比較流行的。每一家公司所使用的"TestFramework"可能都不一樣,難道我們要去學每一個"TestFramework"嗎?當然不必,我們只需要學會"FluentAssertion"就可以了。因為"FluentAssertion"語法可以用在MSTest、xUnit、NUnit、Gallio、MBUnit、MSpec、NSpec這些環境底下。
💡E.g.1.
int sampleValue = 1;
int expectValue = 2;
Assert.AreEqual(expectValue, sampleValue); //MSTest&NUnit
//Message: Expected: 2
//But was: 1
💡E.g.2.
Assert.That(sampleValue, Is.EqualTo(expectValue)); //NUnit
//Message: Expected: 2
//But was: 1
💡E.g.3.
sampleValue.Should().Be(expectValue); //FluentAssertions
//Message: Expected sampleValue to be 2, but found 1.
更多FluentAssertions的用法請參考官網(https://fluentassertions.com/)
【TestEpisode4(第4篇)-FluentAssertionsPart1】專注於使用FluentAssertions測試SimpleType、單一個Object。一開始會(T72)討論FluentAssertion的AssertionScope。接著(T73)討論NUnit、MSTest、FluentAssertions測試String。討論StartsWith、EndsWith、Contains、(DoesNot)Matches。然後(T74)討論FluentAssertions測試Number包括Int、Decimal、Double、Float、Byte。(T75)討論FluentAssertions的DateTimeAssertion。(T76)討論FluentAssertions測試Type、Method、Property、Assembly。(T77)討論FluentAssertions測試Acton、Thread、Task。(T78)討論FluentAssertions測試Type, Nullable, Boolean。最後(T79)討論FluentAssertions測試Guid、Enum。
【TestEpisode5(第5篇)-FluentAssertionsPart2】專注於使用FluentAssertions測試Collection、Dictionary。一開始會(T80)關於Int的Collection Assertion。接著(T81)MSTest、NUnit、FluentAssertions測試StringCollection。重點來了,(T82)Gamer、Power的Equal、Compare邏輯在別的Class。用MSTest、NUnit、FluentAssertions測試ObjectCollection。然後(T83)Gamer、Power這兩個Class內含有Equal、Compare邏輯。用MSTest、NUnit、FluentAssertions測試ObjectCollection。然後第二個重點,(T84)用MSTest、NUnit、FluentAssertions測試Int、String的Dictionary。(T85)Gamer、Power的Equal、Compare邏輯在別的Class。用MSTest、NUnit、FluentAssertions測試(Int或String)、Power的Dictionary。(T86)Gamer、Power這兩個Class內含有Equal、Compare邏輯。用MSTest、NUnit、FluentAssertions測試(Int或String)、Power的Dictionary。最後(T87)用MSTest、NUnit、FluentAssertions測試Xml的資料。(T88)用FluentAssertions監試Event。(T89)用MSTest、NUnit、FluentAssertions測試Exception。
Course Highlight(本課魔王)
😈第一魔王,(T80)關於Int的Collection Assertion
😈第二魔王,(T81)MSTest、NUnit、FluentAssertions測試StringCollection
😈第三魔王,(T82)Gamer、Power的Equal、Compare邏輯在別的Class。用MSTest、NUnit、FluentAssertions測試ObjectCollection
😈第四魔王,(T83)Gamer、Power這兩個Class內含有Equal、Compare邏輯。用MSTest、NUnit、FluentAssertions測試ObjectCollection
😈第五魔王,(T84)用MSTest、NUnit、FluentAssertions測試Int、String的Dictionary
😈第六魔王,(T85)Gamer、Power的Equal、Compare邏輯在別的Class。用MSTest、NUnit、FluentAssertions測試(Int或String)、Power的Dictionary
😈第七魔王,(T86)Gamer、Power這兩個Class內含有Equal、Compare邏輯。用MSTest、NUnit、FluentAssertions測試(Int或String)、Power的Dictionary
😈第八魔王,(T87)用MSTest、NUnit、FluentAssertions測試Xml的資料
😈第九魔王,(T88)用FluentAssertions監試Event
😈第十魔王,(T89)用MSTest、NUnit、FluentAssertions測試Exception
想朝軟體工程師之路前進嗎?受夠了像是文字天書,艱深難懂的工具文件嗎?對自己的底子沒信心嗎?若你想扎實打底,本課程將讓你收穫滿滿!歡迎加入「IT工具人學院,帶你學到會」,一起練功吧!!顆顆。
工具安裝
🔧Microsoft SQL Server
🔧Visual Studio
🔧NUnit Test Adapter
課前技能
✍HTML 5 CSS3
✍Javascript
✍TSQL
✍C#
✍Linq
✍Asp . Net MVC (. Net Framework)
單元簡介
導讀
- (P1)關於測試
- (P2)UnitTest(單元測試)、IntegrationTest(整合測試)、EndToEndTest(端對端測試)
- (P3)導讀Test(1to5)(.NetFramework)
- (P3-1)導讀Test(1to5)(.NetFramework)
- (P3-2)導讀Test(1)(.NetFramework)
- (P3-3)導讀Test(2)(.NetFramework)
- (P3-4)導讀Test(3)(.NetFramework)
- (P3-5)導讀Test(4)(.NetFramework)
- (P3-6)導讀Test(5)(.NetFramework)
MSTest、NUnit、FluentAssertions測試IntCollection
- (T80)關於Int的Collection Assertion
- (T80-1)前置準備,製作IntCollection
- (T80-2)用MSTest、NUnit的CollectionAssertion、equal、compare測試IntCollection
- (T80-3)用FluentAssertions的equal、compare測試IntCollection
- (T80-4)用FluentAssertions的Concatenate測試IntCollection
- (T80-5)用FluentAssertions的Count測試IntCollection
- (T80-6)用FluentAssertions的StartWith、EndWith測試IntCollection
- (T80-7)用MSTest、NUnit的CollectionAssertion、Subset測試IntCollection
- (T80-8)用FluentAssertions的Subset測試IntCollection
- (T80-9)用MSTest、NUnit的CollectionAssertion、Contains測試IntCollection
- (T80-10)用MSTest、NUnit的CollectionAssertion、AllItemsAreNotNull測試IntCollection
- (T80-11)用FluentAssertions的Contains、NotContain、NotContainNulls測試IntCollection
- (T80-12)用FluentAssertions的ContainInOrder、ContainSingle、OnlyContain測試IntCollection
- (T80-13)用MSTest、NUnit的CollectionAssertion、AllItemsAreUnique測試IntCollection
- (T80-14)用FluentAssertions的OnlyHaveUniqueItems測試IntCollection
- (T80-15)用MSTest、NUnit的CollectionAssertion、IsOrdered測試IntCollection
- (T80-16)用FluentAssertions的BeInAscendingOrder、BeInDescendingOrder測試IntCollection
- (T80-17)用MSTest、NUnit的CollectionAssertion、AllItemsAreInstancesOfType測試IntCollection
- (T80-18)用FluentAssertions的ContainItemsAssignableTo、AllBeAssignableTo、AllBeOfType測試IntCollection
- (T80-19)把FluentAssertions從NUnit複製到MSTest
MSTest、NUnit、FluentAssertions測試StringCollection
- (T81)MSTest、NUnit、FluentAssertions測試StringCollection
- (T81-1)前置準備,製作StringCollection
- (T81-2)用MSTest、NUnit的CollectionAssertion、equal、compare測試StringCollection
- (T81-3)用FluentAssertions的equal、compare、ContainEquivalentOf測試IntCollection
- (T81-4)用FluentAssertions的Concatenate測試IntCollection
- (T81-5)用FluentAssertions的Count測試IntCollection
- (T81-6)用FluentAssertions的StartWith、EndWith測試IntCollection
- (T81-7)用MSTest、NUnit的CollectionAssertion、Subset測試IntCollection
- (T81-8)用FluentAssertions的Subset測試IntCollection
- (T81-9)用MSTest、NUnit的CollectionAssertion、Contains、AllItemsAreNotNull測試IntCollection
- (T81-10)用FluentAssertions的Contains、NotContain、NotContainNulls測試IntCollection
- (T81-11)用FluentAssertions的ContainInOrder、ContainSingle、OnlyContain測試IntCollection
- (T81-12)用MSTest、NUnit的CollectionAssertion、AllItemsAreUnique測試IntCollection
- (T81-13)用FluentAssertions的OnlyHaveUniqueItems測試IntCollection
- (T81-14)用MSTest、NUnit的CollectionAssertion、IsOrdered測試IntCollection
- (T81-15)用FluentAssertions的BeInAscendingOrder、BeInDescendingOrder測試IntCollection
- (T81-16)用MSTest、NUnit的CollectionAssertion、AllItemsAreInstancesOfType測試IntCollection
- (T81-17)用FluentAssertions的ContainItemsAssignableTo、AllBeAssignableTo、AllBeOfType測試IntCollection
- (T81-18)把FluentAssertions從NUnit複製到MSTest
Gamer、Power的Equal、Compare邏輯在別的Class。用MSTest、NUnit、FluentAssertions測試ObjectCollection
- (T82)Gamer、Power的Equal、Compare邏輯在別的Class。用MSTest、NUnit、FluentAssertions測試ObjectCollection
- (T82-1)前置準備,製作Gamer,此Class的Equal、Compare邏輯在別的Class
- (T82-2)前置準備,製作Power,此Class的Equal、Compare邏輯在別的Class
- (T82-3)前置準備,製作Object
- (T82-4)前置準備,製作ObjectCollection
- (T82-5)討論MSTest、NUnit測試有在別的Class寫入Equal、Compare邏輯的單一PowerObject
- (T82-6)討論MSTest、NUnit測試有在別的Class寫入Equal、Compare邏輯的PowerCollection
- (T82-7)討論MSTest、NUnit測試有在別的Class寫入Equal、Compare邏輯的單一GamerObject
- (T82-8)討論MSTest、NUnit測試有在別的Class寫入Equal、Compare邏輯的GamerCollection
- (T82-9)用MSTest、NUnit的equal、compare、Equivalent測試ObjectCollection
- (T82-10)用FluentAssertions的equal、compare測試ObjectCollection
- (T82-11)用FluentAssertions的BeEquivalentTo、ContainEquivalentOf、AllBeEquivalentTo測試ObjectCollection
- (T82-12)用FluentAssertions的Concatenate測試ObjectCollection
- (T82-13)用FluentAssertions的Count測試ObjectCollection
- (T82-14)用FluentAssertions的StartWith、EndWith測試ObjectCollection
- (T82-15)用MSTest、NUnit的Subset測試ObjectCollection
- (T82-16)用FluentAssertions的Subset測試ObjectCollection
- (T82-17)用MSTest、NUnit的Contains、AllItemsAreNotNull測試ObjectCollection
- (T82-18)用FluentAssertions的Contain、NotContain和NotContainNulls測試ObjectCollection
- (T82-19)用FluentAssertions的ContainInOrder、ContainSingle、OnlyContain測試ObjectCollection
- (T82-20)用MSTest、NUnit的AllItemsAreUnique測試ObjectCollection
- (T82-21)用FluentAssertions的OnlyHaveUniqueItems測試ObjectCollection
- (T82-22)用MSTest、NUnit的IsOrdered測試ObjectCollection
- (T82-23)用FluentAssertions的BeInAscendingOrder、BeInDescendingOrder測試ObjectCollection
- (T82-24)用MSTest、NUnit的AllItemsAreInstancesOfType測試ObjectCollection
- (T82-25)用FluentAssertions的ContainItemsAssignableTo、AllBeAssignableTo、AllBeOfType測試ObjectCollection
- (T82-26)用FluentAssertions的SatisfyRespectively測試ObjectCollection
- (T82-27)把FluentAssertions從NUnit複製到MSTest
Gamer、Power這兩個Class內含有Equal、Compare邏輯。用MSTest、NUnit、FluentAssertions測試ObjectCollection
- (T83)Gamer、Power這兩個Class內含有Equal、Compare邏輯。用MSTest、NUnit、FluentAssertions測試ObjectCollection
- (T83-1)前置準備,製作Gamer,此Class裡面有Equal邏輯
- (T83-2)前置準備,製作Gamer,此Class裡面有Compare邏輯
- (T83-3)前置準備,製作Power,此Class裡面有Equal、Compare邏輯
- (T83-4)前置準備,製作Object
- (T83-5)前置準備,製作ObjectCollection
- (T83-6)討論MSTest、NUnit測試含有Equal、Compare邏輯的Class的單一PowerObject
- (T83-7)討論MSTest、NUnit測試含有Equal、Compare邏輯的Class的PowerCollection
- (T83-8)討論MSTest、NUnit測試含有Equal、Compare邏輯的Class的單一GamerObject
- (T83-9)討論MSTest、NUnit測試含有Equal、Compare邏輯的Class的GamerCollection
- (T83-10)用MSTest、NUnit的equal、compare、Equivalent測試ObjectCollection
- (T83-11)用FluentAssertions的equal、compare測試ObjectCollection
- (T83-12)用FluentAssertions的BeEquivalentTo、ContainEquivalentOf、AllBeEquivalentTo測試ObjectCollection
- (T83-13)用FluentAssertions的Concatenate測試ObjectCollection
- (T83-14)用FluentAssertions的Count測試ObjectCollection
- (T83-15)用FluentAssertions的StartWith、EndWith測試ObjectCollection
- (T83-16)用MSTest、NUnit的Subset測試ObjectCollection
- (T83-17)用FluentAssertions的Subset測試ObjectCollection
- (T83-18)用MSTest、NUnit的Contains、AllItemsAreNotNull測試ObjectCollection
- (T83-19)用FluentAssertions的Contain、NotContain、NotContainNulls測試ObjectCollection
- (T83-20)用FluentAssertions的ContainInOrder、ContainSingle、OnlyContain測試ObjectCollection
- (T83-21)用MSTest、NUnit的AllItemsAreUnique測試ObjectCollection
- (T83-22)用FluentAssertions的OnlyHaveUniqueItems測試ObjectCollection
- (T83-23)用MSTest、NUnit的IsOrdered測試ObjectCollection
- (T83-24)用FluentAssertions的BeInAscendingOrder、BeInDescendingOrder測試ObjectCollection
- (T83-25)用MSTest、NUnit的AllItemsAreInstancesOfType測試ObjectCollection
- (T83-26)用FluentAssertions的ContainItemsAssignableTo、AllBeAssignableTo、AllBeOfType測試ObjectCollection
- (T83-27)用FluentAssertions的SatisfyRespectively測試ObjectCollection
- (T83-28)把FluentAssertions從NUnit複製到MSTest
FluentAssertions測試Int String Dictionary
- (T84)用MSTest、NUnit、FluentAssertions測試Int、String的Dictionary
- (T84-1)前置準備,製作Int、String的Dictionary
- (T84-2)討論MSTest、NUnit的equal、Equivalent測試Int、String的Dictionary
- (T84-3)用FluentAssertions的equal、Equivalent測試Int、String的Dictionary
- (T84-4)用FluentAssertions的Concatenate測試Int、String的Dictionary
- (T84-5)用FluentAssertions的Count測試Int、String的Dictionary
- (T84-6)討論MSTest、NUnit的Subset測試Int、String的Dictionary
- (T84-7)討論MSTest、NUnit的Contains測試Int、String的Dictionary
- (T84-8)用FluentAssertions的Contain、NotContain測試Int、String的Dictionary
- (T84-9)用FluentAssertions的ContainKey、ContainValue測試Int、String的Dictionary
- (T84-10)討論MSTest、NUnit的AllItemsAreUnique測試Int、String的Dictionary
- (T84-11)討論MSTest、NUnit的AllItemsAreInstancesOfType測試Int、String的Dictionary
- (T84-12)用FluentAssertions的(ContainItems、AllBe)AssignableTo、AllBeOfType測試Int、String的Dictionary
- (T84-13)用FluentAssertions的SatisfyRespectively測試Int、String的Dictionary
- (T84-14)把FluentAssertions從NUnit複製到MSTest
Gamer、Power的Equal、Compare邏輯在別的Class。用MSTest、NUnit、FluentAssertions測試(Int或String)、Power的Dictionary
- (T85)Gamer、Power的Equal、Compare邏輯在別的Class。用MSTest、NUnit、FluentAssertions測試(Int或String)、Power的Dictionary
- (T85-1)前置準備,製作Gamer,此Class的Equal、Compare邏輯在別的Class
- (T85-2)前置準備,製作Power,此Class的Equal、Compare邏輯在別的Class
- (T85-3)前置準備,製作Object
- (T85-4)前置準備,製作ObjectCollection
- (T85-5)討論MSTest、NUnit的equal、Equivalent測試在別的Class有Equal、Compare邏輯的單一PowerObject
- (T85-6)討論MSTest、NUnit的equal、Equivalent測試在別的Class有Equal、Compare邏輯的(Int或String)、Power的Dictionary
- (T85-7)討論FluentAssertions的equal、Equivalent測試在別的Class有Equal、Compare邏輯的(Int或String)、Power的Dictionary
- (T85-8)用FluentAssertions的Concatenate測試(Int或String)、Power的Dictionary
- (T85-9)用FluentAssertions的Count測試(Int或String)、Power的Dictionary
- (T85-10)用MSTest、NUnit的Subset測試(Int或String)、Power的Dictionary
- (T85-11)用MSTest、NUnit的Contains測試(Int或String)、Power的Dictionary
- (T85-12)用FluentAssertions的Contain測試(Int或String)、Power的Dictionary
- (T85-13)用FluentAssertions的ContainKey(s)、ContainValue(s)測試(Int或String)、Power的Dictionary
- (T85-14)用MSTest、NUnit的AllItemsAreInstancesOfType測試(Int或String)、Power的Dictionary
- (T85-15)FluentAssertions的(ContainItems、AllBe)AssignableTo、AllBeOfType測試(Int或String)、Power的Dictionary
- (T85-16)用FluentAssertions的SatisfyRespectively測試(Int或String)、Power的Dictionary
- (T85-17)把FluentAssertions從NUnit複製到MSTest
Gamer、Power這兩個Class內含有Equal、Compare邏輯。用MSTest、NUnit、FluentAssertions測試(Int或String)、Power的Dictionary
- (T86)Gamer、Power這兩個Class內含有Equal、Compare邏輯。用MSTest、NUnit、FluentAssertions測試(Int或String)、Power的Dictionary
- (T86-1)前置準備,製作Gamer,此Class裡面有Equal、Compare邏輯
- (T86-2)前置準備,製作Power,此Class裡面有Equal、Compare邏輯
- (T86-3)前置準備,製作Object
- (T86-4)前置準備,製作ObjectCollection
- (T86-5)討論MSTest、NUnit的equal、Equivalent測試含有Equal、Compare邏輯的單一PowerObject
- (T86-6)討論MSTest、NUnit的equal、Equivalent測試含有Equal、Compare邏輯的(Int或String)、Power的Dictionary
- (T86-7)討論FluentAssertions的equal、Equivalent測試含有Equal、Compare邏輯的(Int或String)、Power的Dictionary
- (T86-8)用FluentAssertions的Concatenate測試(Int或String)、Power的Dictionary
- (T86-9)用FluentAssertions的Count測試(Int或String)、Power的Dictionary
- (T86-10)用MSTest、NUnit的Subset測試(Int或String)、Power的Dictionary
- (T86-11)用MSTest、NUnit的Contains測試(Int或String)、Power的Dictionary
- (T86-12)用FluentAssertions的Contain測試(Int或String)、Power的Dictionary
- (T86-13)用FluentAssertions的ContainKey(s)、ContainValue(s)測試(Int或String)、Power的Dictionary
- (T86-14)用MSTest、NUnit的AllItemsAreInstancesOfType測試(Int或String)、Power的Dictionary
- (T86-15)FluentAssertions的(ContainItems、AllBe)AssignableTo、AllBeOfType測試(Int或String)、Power的Dictionary
- (T86-16)用FluentAssertions的SatisfyRespectively測試(Int或String)、Power的Dictionary
- (T86-17)把FluentAssertions從NUnit複製到MSTest
FluentAssertions測試XML
- (T87)用MSTest、NUnit、FluentAssertions測試Xml的資料
- (T87-1)簡介Xml
- (T87-2)前置準備,製作Xml檔案
- (T87-3)前置準備,製作GamerClass
- (T87-4)用Linq讀取Xml,回傳IEnumerable
- (T87-5)用Linq、YieldReturn讀取Xml,回傳IEnumerable
- (T87-6)用NUnit測試Xml的資料
- (T87-7)用Linq的GetFilePath、GetXDocument讀取Xml
- (T87-8)Linq的GetXElements、GetXElementByIndex、GetXAttributeByXElementNameAndIndexByXAttributeName讀取Xml
- (T87-9)討論MSTest的TestInitialize和TestCleanup
- (T87-10)用FluentAssertions的HaveRoot、HaveElement測試XDocument
- (T87-11)用FluentAssertions的HaveValue、HaveAttribute、HaveElement測試XElement
- (T87-12)用FluentAssertions的HaveValue測試XAttribute
- (T87-13)用FluentAssertions的BeEquivalentTo測試XDocument、XElement
- (T87-14)用FluentAssertions的Concatenate測試Xml
- (T87-15)把FluentAssertions從NUnit複製到MSTest
用FluentAssertions監試Event
- (T88)用FluentAssertions監試Event
- (T88-1)簡介Event
- (T88-2)前置準備,製作普通Event
- (T88-3)前置準備,製作自訂Event
- (T88-4)前置準備,安裝FluentAssertions
- (T88-5)用FluentAssertions測試EventMetadata
- (T88-6)用FluentAssertions測試普通Event
- (T88-7)用FluentAssertions測試自訂Event
- (T88-8)把FluentAssertions從NUnit複製到MSTest
用FluentAssertions測試Exception
- (T89)用MSTest、NUnit、FluentAssertions測試Exception
- (T89-1)簡介Exception
- (T89-2)前置準備,製作普通Exception
- (T89-3)前置準備,製作自訂Exception
- (T89-4)用NUnit測試Exception
- (T89-5)用MSTest測試Exception
- (T89-6)用FluentAssertions測試普通Exception
- (T89-7)用FluentAssertions測試自訂Exception
- (T89-8)把FluentAssertions從NUnit複製到MSTest
- (T89-9)FluentAssertions還有什麼可以學
FluentAssertions還有什麼可以學
- (T90)FluentAssertions還有什麼可以學