Skip to content

spring-boot-demos/demo-testing-bean-overriding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Override Beans in Tests

Show how to override a bean, which is defined in a central config, in tests.

  • InnerClassTestConfigApplicationTest: override bean in TestConfiguration as inner class
  • ExternalTestConfigApplicationTest: override bean in TestConfiguration as separate class
    • does not work in this example
    • used as code example for raising an issue at spring-boot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages