Mô tả:
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
Chuẩn bị tùy chọn tải xuống
Trang web http://unidownloader.com/ là cách tốt nhất để tải xuống một video hoặc một đoạn âm thanh riêng nếu bạn muốn tải xuống mà không cần cài đặt chương trình và tiện ích mở rộng.
Tiện ích mở rộng UDL Helper là một nút tiện lợi được tích hợp liền mạch vào các trang YouTube, Instagram và OK.ru để tải xuống nội dung nhanh chóng.
Chương trình UDL Client (dành cho Windows) là giải pháp mạnh mẽ nhất hỗ trợ hơn 900 trang web, mạng xã hội và trang lưu trữ video cũng như mọi chất lượng video có sẵn trong nguồn.
UDL Lite là một cách thực sự thuận tiện để truy cập trang web từ thiết bị di động của bạn. Với sự trợ giúp của nó, bạn có thể dễ dàng tải video trực tiếp xuống điện thoại thông minh của mình.
Các định dạng chất lượng tốt nhất là FullHD (1080p), 2K (1440p), 4K (2160p) và 8K (4320p). Độ phân giải màn hình của bạn càng cao thì chất lượng video càng cao. Tuy nhiên, có những yếu tố khác cần xem xét: tốc độ tải xuống, dung lượng trống và hiệu suất thiết bị trong quá trình phát lại.
Trình duyệt/máy tính không được đóng băng hoàn toàn! Nếu điều này xảy ra, vui lòng báo cáo nó kèm theo liên kết tới video. Đôi khi không thể tải xuống trực tiếp video ở định dạng phù hợp, vì vậy chúng tôi đã thêm khả năng chuyển đổi tệp sang định dạng mong muốn. Trong một số trường hợp, quá trình này có thể chủ động sử dụng tài nguyên máy tính.
Bạn có thể tải video xuống điện thoại thông minh của mình bằng trang web hoặc ứng dụng PWA UDL Lite. Cũng có thể gửi liên kết tải xuống qua mã QR bằng tiện ích mở rộng UDL Helper.
Cách thuận tiện nhất là sử dụng chương trình UDL Client, chương trình hỗ trợ chuyển đổi video sang định dạng MP3. Trong một số trường hợp, MP3 cũng có thể được tải xuống thông qua tiện ích mở rộng UDL Helper.
Tính năng này có sẵn trong tiện ích mở rộng UDL Helper. Đảm bảo rằng bạn đã chọn "Hiển thị nút quay video nhanh" trong cài đặt. Biểu tượng máy ảnh sẽ xuất hiện ở góc dưới bên phải của trình phát, bên trái biểu tượng "Cài đặt". Khi bạn nhấp vào nó, khung hình hiện tại của video sẽ được lưu vào máy tính của bạn ở định dạng JPEG.
Nó không tốn gì cả. Các dịch vụ của chúng tôi hoàn toàn miễn phí cho mọi người dùng. Không có đăng ký PRO, không có giới hạn về số lượng hoặc thời lượng tối đa của video được tải xuống.