Question from the Spring - Archive test
Which annotation is used to run a Spring test class?
Medium
A test class that uses JUnit and needs the Spring context
Author: Thomas De verdièreStatus: PublishedQuestion passed 8 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about Spring
0
Spring IoC and Dependency Injection0
What is the default class for loading a Spring configuration file?0
Spring bean scope types0
Is the following code valid?
@Configuration
public class MyConfiguration {
@Bean
public MyBean myBean() {
return new MyBean();
}
}0
How to use JdbcTemplate to insert data into a database in Spring