Skip to content

Fix tutorial.md typo about adding tests #92

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Sep 14, 2024

Conversation

gsharpsharp
Copy link
Contributor

In the "Adding Python Source Files" section, towards the end when talking about test coverage, the tutorial says we have two options:

  1. Override the coverage plugin default setting and disable failure on missing code coverage threshold.
  2. Add a test that ensures that the code is properly tested.

Then it says: "Being a diligent responsible developer that follows 21-st century best practices we will choose the first option and add an appropriate test."

The option to add a test would be the second one, not the first one. I change "first option" to "second option" because that appears to be the author's original intent.

In the "Adding Python Source Files" section, towards the end when talking about test coverage, the tutorial says we have two options:

1. Override the coverage plugin default setting and disable failure on missing code coverage threshold.
2. Add a test that ensures that the code is properly tested.

Then it says: "Being a diligent responsible developer that follows 21-st century best practices we will choose the **first option** and add an appropriate test."

The option to add a test would be the second one, not the first one. I change "first option" to "second option" because that appears to be the author's original intent.
@arcivanov
Copy link
Member

Thank you!

@arcivanov arcivanov merged commit 454db7b into pybuilder:source Sep 14, 2024
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants