Главная
Study mode:
on
1
Intro
2
Remote Service
3
Controller
4
Repository
5
Ymock
6
Integration Test
7
Configuration
8
Upgrading
9
Moving to Spring Boot
10
Annotations
11
Web Environment
12
Spring Boot Test
13
Dropback Classes
14
Upgrade to assertJ
15
What to import
16
Remove autowire annotation
17
Why use constructor injection
18
Expecting exceptions
19
Testing the message
20
Consistent naming
21
Mockito
22
Constructor Style
23
Testing
24
Auto Configuration
25
Vehicle Identification Number
26
Naming Suggestions
27
DataJPA
28
Spring Data Repository
29
Auto Configure
30
Auto Configure with Existing Tests
31
Shut Down MySQL
32
Auto Configure Test Database
33
Remote Services
34
Rest Template Recap
35
Protected Method
36
Rest Service Server
37
Happy Path
38
Mocking
39
JSON Test Setup
40
Remote Service Test
41
Testing Mocks
42
Testing Integration
43
Testing Service
44
MockBean
45
Mock injected
46
Test results
47
New features
48
Web MVC annotation
49
Mock MVC annotation
50
Getting a vehicle
51
Service Test
52
Mock MVC Test
53
Spring Boot MVC
54
Compulsive Notation
55
Balancing
56
Mock Bean
57
MachBeam
58
Other Applications
59
MetaAnnotations
Description:
Explore advanced techniques for testing Spring Boot applications in this comprehensive conference talk from Spring I/O 2016. Learn how to effectively unit test classes, implement mocking, test persistence layers, validate remote REST calls, and assess MVC controllers. Discover strategies for structuring applications to enhance testability and leverage new features in Spring Boot 1.4 for simplified testing. Dive into topics such as integration testing, configuration management, and upgrading to Spring Boot. Master the use of annotations, web environments, and auto-configuration in testing scenarios. Gain insights on best practices for naming conventions, constructor injection, and exception handling. Explore practical examples using tools like Mockito, DataJPA, and REST templates. Enhance your understanding of mock beans, JSON test setups, and web MVC annotations to create robust and reliable tests for your Spring Boot applications.

Testing Spring Boot Applications

Spring I/O
Add to list