mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Remove tests from example style guide (#3582)
# Objective - Consensus has emerged that examples shouldn't have tests. ## Solution - Discourage tests in examples.
This commit is contained in:
parent
130953c717
commit
6bc5c60986
1 changed files with 1 additions and 1 deletions
2
.github/contributing/example_style_guide.md
vendored
2
.github/contributing/example_style_guide.md
vendored
|
@ -11,8 +11,8 @@ For more advice on writing examples, see the [relevant section](../../CONTRIBUTI
|
|||
1. Imports
|
||||
2. A `fn main()` block
|
||||
3. Example logic
|
||||
4. \[Optional\] Tests
|
||||
5. Try to structure app / plugin construction in the same fashion as the actual code.
|
||||
6. Examples should typically not have tests, as they are not directly reusable by the Bevy user.
|
||||
|
||||
## Stylistic preferences
|
||||
|
||||
|
|
Loading…
Reference in a new issue