Back to Basics Testing## +23 ## Back To Basics Testing ## PHIL NASH ## 20 23 October 01 - 06 ## What is a test? ## What is a test? ## operation ## What is a test? ## operation input values ## What is a test? ## operation Integration ## What is a test? ## System Tests Integration Tests Unit Tests What is a test? ## The testing pyramid System Tests Integration Tests Unit Tests ## What is a Unit Test? ## What is a Unit Test your environment (such as editing config files) to run it Michael Feathers - A Set of Unit Testing Rules  ## What is0 码力 | 79 页 | 25.86 MB | 1 年前3
Scientific Unit Testing## Scientific Unit Testing Dave Steffen, Ph.D. Software Lead dsteffen@scitec.com — in Physics which is relevant SCiTEC Science & Technology Innovation www.scitec.com If I have seen further bad tests are almost always better than no tests! ## Unit Testing OO Code ## Test using only the public interface ("Black Box" testing) • Forces better design ("design for testability") coupling to implementation • Unit tests are also examples and documentation ## Object Oriented testing ## Let's unit test this class 1 // Cup.h // creates an empty cup bool IsEmpty(); bool Fill();0 码力 | 45 页 | 1.91 MB | 1 年前3
Testing Compile-time Constructs Within a Runtime Unit Testing Framework## +21 ## Testing Compile-time Constructs Within a Runtime Unit Testing Framework ## I GOR BOGOSLAVSKYI 20 21 October 24-29 ## We use C++ (14) for safety-critical applications that we deliver to our ments/4/8/e/9/48e97f15addfced313a9cb60758e45d2/p2_1.jpg) Errors have a high cost, so rigorous testing is a must We use increasingly more compile-time polymorphism and checks Question: how to test if get_half_of(T smth) { return smth / T{2}; } ## Write a rigorous testing suite #includeTEST(TestMyApi, Halving) { EXPECT_FLOAT_EQ(21.0F, get_half_of(42 0 码力 | 50 页 | 1.37 MB | 1 年前3
Back To Basics Debugging and Testing## +24 ## Back To Basics Debugging and Testing ## GREG LAW & MIKE SHAH ### Writing software is really hard. If it’s not tested, it doesn’t work Or at least it will soon stop working. ## WHAT'S 4/p5_1.jpg) BUT WHEN I DO, DO IT IN PRODUCTION Software development done right is basically testing and debugging. ## GOOD TESTS ARE • Independent • Repeatable Fast ## DIFFERENT TESTS — ALL ARE generally shallow / easy-to-fix. Tests run fast – tight feedback loop. But... Assumptions! ## UNIT TESTING FRAMEWORKS Google Gest Catch2 Boost.Test • CppUTest • doctest  Testing Compile-time Constructs in a Runtime Unit Testing ... YouTube · CppCon Feb 15, 2022 It's A Bug Hu Armor Plate You 2023 ## Unit Testing is a Big Topic • Jody Hagins (today): The Most Important Design Guideline is Testability • Greg Law and Mike Shah (tomorrow): Back To Basics, Debugging and Testing • Chip Hogg (Wednesday)0 码力 | 109 页 | 4.13 MB | 1 年前3
Noexcept: Enabling Testing of Contract Checks## 20 23 October 01 - 06 ## +23 ## Noexcept? Enabling Testing of Contract Checks ## PABLO HALPERN & TIMUR DOUMLER ## Welcome What can the Screen Actors Guild and the Writers Guild of America tell run time How to unit test contract-checking annotations (CCAs) How noexcept interacts with unit testing of CCAs. We will go over everything twice! ## About the presenters In Absentia ## Pablo Halpern Unit Testing, CCAs and Exception Specifications CCAs can themselves use the source of bugs and should verify as part of unit testing. • Overuse of noexcept can interfere with such unit testing We've0 码力 | 90 页 | 1.38 MB | 1 年前3
Optimal Canary Deployments using
Istio and how it scores over Spring
Cloud and KubernetesOptimal Canary Deployments using Istio and how it scores over Spring Cloud and Kubernetes Presented by Archna Gupta ## What is a Canary Release or Deployment? • A canary deployment, or canary release 5e00bcb6fc098268/p2_1.jpg) ## Canary Releases Using Kubernetes www.my-application.com External Traffic S E R V I C E (Load balancer) ## selector: app: demo-canary env: prod 75% 25%  ## labels: app: demo-canary env: prod version: vl ## Deployment ## selector: matchLabels: app: demo-canary env: prod version: vl labels: app: demo-canary env: prod version: v2 ## Deployment0 码力 | 9 页 | 1011.00 KB | 1 年前3
Continuous Regression Testing for Safer and Faster Refactoring## +23 ## Continuous Regression Testing for Safer and Faster Refactoring PEJMAN GHORBANZADE ## Continuous Regression Testing for Safer and Faster Refactoring  Testing as risk mitigation 0 码力 | 85 页 | 11.66 MB | 1 年前3
Автоматизация управления ClickHouse-кластерами в Kubernetesresources ## План работ ● Наследование Templates ● Хранить историю изменений CRD ● Автоматизация ‘canary testing’ ● Интеграция с ZooKeeper operator ● Сложные health checks ● Jobs: ● Replica re-provisioning0 码力 | 44 页 | 2.24 MB | 2 年前3
Spring Framwork Testing v5.3.36 SNAPSHOTTesting Version 5.3.36-SNAPSHOT ## Table of Contents 1. Introduction to Spring Testing 2 2. Unit Testing 3 2.1. Mock Objects 3 2.1.1. Environment 3 2.1.2. JNDI 3 2.1.3. Servlet API 4 2.1 2. Unit Testing Support Classes 4 2.2.1. General Testing Utilities 4 2.2.2. Spring MVC Testing Utilities 5 3. Integration Testing 6 3.1. Overview 6 3.2. Goals of Integration Testing 6 3.2.1 Transaction Management 8 3.2.4. Support Classes for Integration Testing 8 3.3. JDBC Testing Support 8 3.4. Annotations 9 3.4.1. Spring Testing Annotations 9 @BootstrapWith 10 @ContextConfiguration0 码力 | 193 页 | 2.53 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
测试测试类型单元测试动态测试挑战科学方法测试覆盖率测试隔离测试设计运行时单元测试框架编译时构造静态测试GoogleTest库C++14DebuggingTestingUnit testsIntegration testsHeisenbugsunit testingfunctiontest frameworkcode baseassertcontract checksnoexceptexceptionstestingannotationsIstioCanary DeploymentsKubernetesSpring CloudDestination Rules持续回归测试重构测试文化测试效率ClickHouseClickHouse OperatorCRDcanary testingSpring TestContext FrameworkIntegration TestingUnit TestingTransaction ManagementJDBC Testing Support













