คำอธิบาย:
This presentation was recorded at GOTO Amsterdam 2022. https://gotoams.nl/2024 Kevlin Henney - Consultant, Programmer, Keynote Speaker, Technologist, Trainer & Writer @KevlinHenney ABSTRACT Throw a line of code into many codebases and it's sure to hit one or more testing frameworks. There's no shortage of frameworks for testing, each with their particular spin and set of conventions, but that glut is not always matched by a clear vision of how to structure and use tests — a framework is a vehicle, but you still need to know how to drive. The computer science classic, Structure and Interpretation of Computer Programs, points out that "programs must be written for people to read, and only incidentally for machines to execute". The same is true of test code. This talk takes a deep dive into unit testing, looking at examples and counterexamples across a range of languages and frameworks, from naming to nesting, exploring the benefits of data-driven testing, the trade-offs between example-based and property-based testing, how to get the most out of the common given-when-then refrain and knowing how far to follow it. [...] TIMECODES 00:00 Intro 04:09 Quote Structure & Interpretation of Computer Programs 05:27 Quotes Marit van Dijk 10:56 Testing approaches today 13:24 Continuous testing 14:52 Case: Leap year 28:55 Quote Nat Pryce & Steve Freeman 29:44 Case: Leap year continued 37:33 FizzBuzz 39:00 Quote Brian Marick 39:36 FizzBuzz continued 43:15 Quote Richard Feynman 43:43 FizzBuzz continued 45:14 Niklaus Wirth 46:07 Outro Download slides and read the full abstract here: https://gotoams.nl/2022/sessions/1604/structure-and-interpretation-of-test-cases RECOMMENDED BOOKS Kevlin Henney & Trisha Gee • 97 Things Every Java Programmer Should Know • https://www.amazon.com/Things-Every-Java-Programmer-Should/dp/1491952695?language=en_US Kevlin Henney • 97 Things Every Programmer Should Know • https://www.amazon.com/Things-Every-Programmer-Should-Know/dp/0596809484?language=en_US Henney & Monson-Haefel • 97 Things Every Software Architect Should Know • https://www.amazon.com/gp/product/B0026OR30S?language=en_US Abelson, Sussman & Sussman • Structure and Interpretation of Computer Programs • https://www.amazon.com/Structure-Interpretation-Computer-Programs-Engineering/dp/0262510871?language=en_US Niklaus Wirth • Algorithms + Data Structures = Programs • https://www.amazon.com/Algorithms-Structures-Prentice-Hall-Automatic-Computation/dp/0130224189?language=en_US Roy Osherove • The Art of Unit Testing • https://www.manning.com/books/the-art-of-unit-testing-third-edition?a_aid=trifork&a_bid=8948c3bc Adzic, Evans & Roden • Fifty Quick Ideas To Improve Your Tests • https://www.amazon.com/-/de/dp/0993088112?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&language=de_DE Adzic, Evans & Korac • Fifty Quick Ideas to Improve Your User Stories • https://www.amazon.com/-/de/dp/0993088104?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&language=de_DE Saleem Siddiqui • Learning Test-Driven Development • https://www.amazon.com/Learning-Test-Driven-Development-Polyglot-Uncluttered/dp/1098106474?language=en_US Kent Beck • Test Driven Development • https://www.amazon.com/Test-Driven-Development-Kent-Beck/dp/0321146530?language=en_US https://twitter.com/GOTOcon https://www.linkedin.com/company/goto- https://www.facebook.com/unsupportedbrowser #Testing #UnitTests #UnitTesting #Programming #KevlinHenney #SoftwareEngineering #TDD #TestDrivenDevelopment #ContinuousTesting #Integers #Coverage #LeapYear #LeapYearRule #NiklausWirth Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech/ Sign up for updates and specials at https://gotopia.tech/newsletter SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. https://www.youtube.com/user/GotoConferences/?sub_confirmation=1
กำลังเตรียมตัวเลือกการดาวน์โหลด
เว็บไซต์ http://unidownloader.com/ เป็นวิธีที่ดีที่สุดในการดาวน์โหลดวิดีโอหรือแทร็กเสียงแยกต่างหาก หากคุณต้องการหลีกเลี่ยงการติดตั้งโปรแกรมและส่วนขยาย
ส่วนขยาย UDL Helper เป็นปุ่มที่สะดวกซึ่งฝังไว้บนเว็บไซต์ YouTube, Instagram และ OK.ru เพื่อการดาวน์โหลดเนื้อหาที่รวดเร็ว
UDL Client (สำหรับ Windows) - โซลูชันที่ทรงพลังที่สุดที่รองรับเว็บไซต์ โซเชียลเน็ตเวิร์ก และไซต์โฮสต์วิดีโอมากกว่า 900 แห่ง รวมถึงคุณภาพวิดีโอใด ๆ ที่มีอยู่ในแหล่งที่มา
UDL Lite - เป็นวิธีที่สะดวกในการเข้าถึงเว็บไซต์จากอุปกรณ์มือถือของคุณ ด้วยความช่วยเหลือนี้ คุณสามารถดาวน์โหลดวิดีโอลงสมาร์ทโฟนของคุณได้โดยตรง
รูปแบบคุณภาพที่ดีที่สุดคือ FullHD (1080p), 2K (1440p), 4K (2160p) และ 8K (4320p) ยิ่งความละเอียดหน้าจอของคุณสูงเท่าไร คุณภาพวิดีโอก็ควรจะสูงขึ้นตามไปด้วย อย่างไรก็ตาม ยังมีปัจจัยอื่นๆ ที่ต้องพิจารณา: ความเร็วในการดาวน์โหลด จำนวนพื้นที่ว่าง และประสิทธิภาพของอุปกรณ์ระหว่างการเล่น
เบราว์เซอร์/คอมพิวเตอร์ไม่ควรหยุดทำงานโดยสิ้นเชิง! หากเกิดเหตุการณ์เช่นนี้ โปรดรายงานพร้อมลิงก์ไปยังวิดีโอ บางครั้งวิดีโอไม่สามารถดาวน์โหลดได้โดยตรงในรูปแบบที่เหมาะสม ดังนั้นเราจึงเพิ่มความสามารถในการแปลงไฟล์เป็นรูปแบบที่ต้องการ ในบางกรณี กระบวนการนี้อาจใช้ทรัพยากรคอมพิวเตอร์อย่างจริงจัง
คุณสามารถดาวน์โหลดวิดีโอลงในสมาร์ทโฟนของคุณได้โดยใช้เว็บไซต์ UDL Lite หรือแอปพลิเคชัน pwa นอกจากนี้ยังสามารถส่งลิงก์ดาวน์โหลดผ่านโค้ด QR โดยใช้ส่วนขยาย UDL Helper ได้อีกด้วย
วิธีที่สะดวกที่สุดคือการใช้ UDL Client ซึ่งรองรับการแปลงวิดีโอเป็นรูปแบบ MP3 ในบางกรณี คุณสามารถดาวน์โหลดไฟล์ MP3 ผ่านส่วนขยาย UDL Helper ได้
คุณลักษณะนี้มีอยู่ในส่วนขยาย UDL Helper ตรวจสอบให้แน่ใจว่าได้เลือกตัวเลือก "ปุ่มแสดงผลเพื่อบันทึกภาพหน้าจอจากวิดีโอ" ในการตั้งค่า ไอคอนกล้องควรปรากฏที่มุมขวาล่างของเครื่องเล่นทางด้านซ้ายของไอคอน "การตั้งค่า" เมื่อคุณคลิก เฟรมปัจจุบันจากวิดีโอจะถูกบันทึกลงในคอมพิวเตอร์ของคุณในรูปแบบ JPEG
ไม่มีค่าใช้จ่ายเลยจริงๆ บริการของเราฟรีสำหรับผู้ใช้ทุกคนอย่างแน่นอน ไม่มีการสมัครสมาชิกแบบ PRO ไม่มีการจำกัดจำนวนหรือความยาวสูงสุดของวิดีโอที่ดาวน์โหลด