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

Add testing of README.md examples? #28

Closed
jasikpark opened this issue Apr 18, 2019 · 1 comment
Closed

Add testing of README.md examples? #28

jasikpark opened this issue Apr 18, 2019 · 1 comment
Assignees

Comments

@jasikpark
Copy link
Contributor

https://blog.guillaume-gomez.fr/articles/2019-04-13+Keeping+Rust+projects%27+README.md+code+examples+up-to-date

The doc-comment crate has a macro doctest!("../README.md"); that can test all examples in README.md to ensure they are up-to-date at all times.

@adobeDan adobeDan self-assigned this Nov 15, 2021
@adobeDan
Copy link
Collaborator

This is fixed in #70 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants