1 Thanks for your interest in contributing to `ouch`!
5 - [Code of Conduct](#code-of-conduct)
6 - [I want to ask a question or provide feedback](#i-want-to-ask-a-question-or-provide-feedback)
7 - [Adding a new feature](#adding-a-new-feature)
9 - [Dealing with UI tests](#dealing-with-ui-tests)
13 We follow the [Rust Official Code of Conduct](https://www.rust-lang.org/policies/code-of-conduct).
15 ## I want to ask a question or provide feedback
17 Create [an issue](https://github.com/ouch-org/ouch/issues) or go to [Ouch Discussions](https://github.com/ouch-org/ouch/discussions).
19 ## Adding a new feature
21 Before opening the PR, open an issue to discuss your addition, this increases the chance of your PR being accepted.
26 - After opening the PR, add a [CHANGELOG.md] entry.
28 [CHANGELOG.md]: https://github.com/ouch-org/ouch
30 ## Dealing with UI tests
32 We use snapshots to do UI testing and guarantee a consistent output, this way, you can catch accidental changes or see what output changed in the PR diff.
34 - Run tests with `cargo` normally, or with a filter:
42 - If some UI test failed, you should review it:
48 - After addressing all, you should be able to `git add` and `commit` accordingly.