Comments (12)
So you'd want this item list in the main README.md ? Or maybe something else in a started guide in the wiki ?
from mockito.
Docs are not great. Do you want to contribute some changes? :)
Down the road, I'd like to have Mockito 'site', static html would be enough.
from mockito.
I'll see to suggest a change to the README.md.
from mockito.
The examples could be rewritten to include some of the main features using the prefered way (e.g., I'd use BDD and annotations).
from mockito.
Another thing that should be done is split http://mockito.github.io/mockito/docs/current/org/mockito/Mockito.html to have the main content there in a new page (ex: http://mockito.github.io/mockito/docs/current/index.html
or a completely new page outside) so that Mockito class fields become more readable.
from mockito.
Possible thing to do is to add a maven central badge
from mockito.
@bric3 Yes that could help a bit.
from mockito.
However I kind of like the current Mockito javadoc as is.
from mockito.
@bric3 The issue is that it's the main class with methods etc. and it's mixed with a good document giving the overview of all Mockito features and classes. It's like an index mixed with a class documentation. It may be also part of the reason why going to a field's link doesn't work properly.
from mockito.
Hey Werner. Thanks a lot for looking into improving our documentation. I'm allocating my time other parts of the system (release automation) but documentation will be next :)
from mockito.
I've submitted a pull request for at least the home page.
Still missing:
- Simpler setup, the maven central badge may help (even if it doesn't show the Gradle version of it)
- Moving the documentation index out of Mocking class documentation http://mockito.github.io/mockito/docs/current/org/mockito/Mockito.html
- Writing some better examples, see http://docs.typemock.com/Isolator/##Ref.chm/Documentation/Using.html for how it could be organized (the current kind of "how-to" organization is also good for more in depth).
from mockito.
- Moving the documentation index out of Mocking class documentation http://mockito.github.io/mockito/docs/current/org/mockito/Mockito.html
Not gonna happen. It is our documentation entry point.
- Writing some better examples, see http://docs.typemock.com/Isolator/##Ref.chm/Documentation/Using.html for how it could be organized (the current kind of "how-to" organization is also good for more in depth).
There's always the wiki for that :)
Closing as the PR has been merge, thx again for taking care of the doc.
from mockito.
Related Issues (20)
- Adding @MockitoSettings to class changes order of extensions in @ExtendWith
- MockSettings.strictness() not observed HOT 2
- Mockito verify message not accurate if type is fields are of Object
- when does not throw MissingMethodInvocationException HOT 1
- Spy annotation does not seem to work after switching from Mockito 4.8.1 to 5.10.0 HOT 1
- `mockStatic` fails with `class redefinition failed: invalid class` HOT 5
- mockito
- Field with generics is not injected using @InjectMocks HOT 1
- Possible race condition HOT 3
- MissingMethodInvocationException is thrown when mocking native method in 5.x HOT 1
- ByteBuddy agent fails to install on GraalVM HOT 1
- Incorrect documentation for RETURNS_MOCKS HOT 3
- Mockito.only() points to the wanted call as unwanted if it is the first being called.
- Mockito vs EasyMock performance HOT 4
- @Mock and MockedConstruction
- application HOT 1
- In TypeBasedCandidateFilter.isCompatibleTypes -> ClassCastException: class TypeVariableImpl cannot be cast to class Class HOT 9
- Spy does not see method called in feedback call HOT 3
- Mockito.mock(...) does not work inside an Arquillian integration test anymore HOT 1
- Feature Request: MockedConstruction needs a setInitializer method
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 mockito.