Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation #93

Closed
wernight opened this issue Oct 1, 2014 · 12 comments
Closed

Improve documentation #93

wernight opened this issue Oct 1, 2014 · 12 comments

Comments

@wernight
Copy link
Contributor

wernight commented Oct 1, 2014

Documentation is missing many important features (or at least should introduce them in the main readme even they are somewhere described if you find):

For most I'd include the relevant import as well. I'd also put an example verify() with any() before even one verifying a specific object was called.

@bric3
Copy link
Contributor

bric3 commented Oct 1, 2014

So you'd want this item list in the main README.md ? Or maybe something else in a started guide in the wiki ?

@mockitoguy
Copy link
Member

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.

@wernight
Copy link
Contributor Author

wernight commented Oct 1, 2014

I'll see to suggest a change to the README.md.

@wernight
Copy link
Contributor Author

wernight commented Oct 2, 2014

The examples could be rewritten to include some of the main features using the prefered way (e.g., I'd use BDD and annotations).

@wernight
Copy link
Contributor Author

wernight commented Oct 2, 2014

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.

@bric3
Copy link
Contributor

bric3 commented Oct 4, 2014

Possible thing to do is to add a maven central badge

Maven Central

@wernight
Copy link
Contributor Author

wernight commented Oct 5, 2014

@bric3 Yes that could help a bit.

@bric3
Copy link
Contributor

bric3 commented Oct 5, 2014

However I kind of like the current Mockito javadoc as is.

@wernight
Copy link
Contributor Author

wernight commented Oct 5, 2014

@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.

@mockitoguy
Copy link
Member

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 :)

@wernight
Copy link
Contributor Author

wernight commented Oct 8, 2014

I've submitted a pull request for at least the home page.

Still missing:

@bric3
Copy link
Contributor

bric3 commented Feb 21, 2015

Not gonna happen. It is our documentation entry point.

There's always the wiki for that :)

Closing as the PR has been merge, thx again for taking care of the doc.

@bric3 bric3 closed this as completed Feb 21, 2015
neworld pushed a commit to neworld/mockito that referenced this issue Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants