Comments (1)
Thanks for making me aware of this. Digging into this issue I realised that I messed up royally during the most recent version upgrade. I migrated the build pipeline from Travis to CircleCI during the latest round of upgrades and didn't notice that the gradle test
step didn't find any tests at all, leaving me completely in the dark about test failures.
Back to your issue: This was caused by a lack of initializing Mockito properly. A simple MockitoAnnotations.openMocks(this)
solves that issue. This is fixed in the latest master
.
I added a few other updates while I was at it. All tests are now running on jUnit 5 properly. Previously I had still two jUnit versions due to pact pulling in jUnit 4 which was the root of all these issues we saw.
Thanks again for reporting, I went down a deep rabbit hole and fixed a whole lot of things I messed up. Everything should be back to normal now.
from spring-testing.
Related Issues (13)
- Consider removing all entries from the database before the test is executed HOT 2
- How are the tests run/executed? HOT 2
- Port Number is Different HOT 1
- Not possible to get DarkSky Api key anymore HOT 4
- Mismatch in url from application.properties and WeatherClient HOT 1
- Add step to ReadMe for installing docker, if you haven't already done so HOT 1
- Include authentication. HOT 1
- why PersonRepositoryIntegrationTest doesn't fail with h2 dependency with runtimeOnly gradle scope? HOT 4
- Gets stuck at > Building 80% > :bootRun HOT 3
- Implementation for different frameworks / languages HOT 2
- Handle source .env and ./startDatabase automatically
- Test with real end point for validation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-testing.