典型的單元測試都是透過 Example Based 的方式來撰寫,但例如 input 為一個陣列時,我們可能需要列出多種可能性才有辦法測試到多種情境。因此,本場演講將介紹 Property-Based Testing 可以如何加強測試。
About cybai
cybai is a Front-End Engineer at Autify Inc. Also, he is a contributor of the Servo project.
RoomRB105 | RoomAU101 | RoomTR209 | RoomTR211 | RoomTR212 | RoomTR213 | RoomTR214 | RoomTR310-1 | RoomTR310-2 | RoomTR311 | RoomTR313 | RoomTR409-1 | RoomTR409-2 | RoomTR410 | RoomTR411 | RoomTR412-1 | RoomTR412-2 | RoomTR413-1 | RoomTR413-2 | RoomTR510 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
典型的單元測試都是透過 Example Based 的方式來撰寫,但例如 input 為一個陣列時,我們可能需要列出多種可能性才有辦法測試到多種情境。因此,本場演講將介紹 Property-Based Testing 可以如何加強測試。
cybai is a Front-End Engineer at Autify Inc. Also, he is a contributor of the Servo project.