8000 libcnb-test: Overhaul the README and crate docs by edmorley · Pull Request #478 · heroku/libcnb.rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

libcnb-test: Overhaul the README and crate docs #478

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

Merged
merged 2 commits into from
Jul 21, 2022

Conversation

edmorley
Copy link
Member

Whilst the individual libcnb-test APIs already had rustdocs and examples, discovering what features existed and where in the modules/types hierarchy to look for these was hard for users new to the crate.

Now, the README covers:

  • what the test framework does
  • prerequisites for the host machine
  • examples for all common use-cases
  • tips/best practices

Some rustdocs for individual APIs have been updated to match the style used in the README for consistency.

Lastly, the "experimental" label has been removed, since the crate is now mostly complete.

GUS-W-11468003.

@edmorley edmorley added documentation Improvements or additions to documentation libcnb-test labels Jul 21, 2022
@edmorley edmorley self-assigned this Jul 21, 2022
@edmorley edmorley force-pushed the edmorley/libcnb-test-docs branch from 806dbbc to 800971d Compare July 21, 2022 13:01
@edmorley edmorley marked this pull request as ready for review July 21, 2022 13:40
@edmorley edmorley requested a review from a team as a code owner July 21, 2022 13:40
@edmorley
Copy link
Member Author

Rendered version of the README (likely easier to review than the diff):
https://github.com/heroku/libcnb.rs/blob/edmorley/libcnb-test-docs/libcnb-test/README.md

Whilst the individual libcnb-test APIs already had rustdocs and
examples, discovering what features existed and where in the
modules/types hierarchy to look for these was hard for users
new to the crate.

Now, the README covers:
- what the test framework does
- prerequisites for the host machine
- examples for all common use-cases
- tips/best practices

Some rustdocs for individual APIs have been updated to match
the style used in the README for consistency.

Lastly, the "experimental" label has been removed, since the
crate is now mostly complete.

GUS-W-11468003.
@edmorley edmorley force-pushed the edmorley/libcnb-test-docs branch from 800971d to ba60b05 Compare July 21, 2022 14:40
Copy link
Contributor
@colincasey colincasey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good examples in the README @edmorley

@edmorley edmorley enabled auto-merge (squash) July 21, 2022 18:19
@edmorley edmorley merged commit e4a3644 into main Jul 21, 2022
@edmorley edmorley deleted the edmorley/libcnb-test-docs branch July 21, 2022 18:23
@edmorley
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation libcnb-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0