python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
java Junit4 and JUnit5 not picking JUnit5 tests
I have a work environment including bom I dont manage and JUnit5 tests are not picked up unless I import my @Test annotation for test methods from import org.junit.Test; if I import them from import o...
Pipo
Votes: 0
Answers: 1
Spring Boot @RestController @Autowired null in Unit tests
I can't understand why @Autowiring my @RestController class is returning null.
I want to do a basic unit test before doing an integrated test but its failing.
In fact anything that is being @Autowired...
user16422658
Votes: 0
Answers: 2
Pact consumer contact gives au.com.dius.pact.consumer.PactMismatchesException
I am new to Pact contract testing
Gradle dependencies
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boo...
Shashwat
Votes: 0
Answers: 1
Junit5 test case for controller layer
@GetMapping(value = "/abc")
public ResponseDto<Map<String, FResponseDto>, Void> getFlightDetails(@RequestParam String fIds) {
Map<String, FResponseDto> response = ...
Harsh Rao
Votes: 0
Answers: 1