Skip to content

docs(test-tools): Clarify installation instructions#80

Merged
matthewelwell merged 3 commits into
mainfrom
docs/test-tools-install
May 27, 2025
Merged

docs(test-tools): Clarify installation instructions#80
matthewelwell merged 3 commits into
mainfrom
docs/test-tools-install

Conversation

@khvn26

@khvn26 khvn26 commented May 27, 2025

Copy link
Copy Markdown
Member

No description provided.

@khvn26 khvn26 requested a review from a team as a code owner May 27, 2025 11:30
@khvn26 khvn26 requested review from Zaimwa9 and removed request for a team May 27, 2025 11:30
@codecov-commenter

codecov-commenter commented May 27, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.17%. Comparing base (2ac3408) to head (51776be).
⚠️ Report is 79 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #80   +/-   ##
=======================================
  Coverage   94.17%   94.17%           
=======================================
  Files          74       74           
  Lines        2147     2147           
=======================================
  Hits         2022     2022           
  Misses        125      125           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
#### Installation

1. To make use of the `test_tools` Pytest plugin, install the packages with the `test-tools` extra, e.g. `pip install flagsmith-common[test-tools]`.
1. As a dev dependency, install the package with the `test-tools` extra, e.g. `poetry add --G dev flagsmith-common[test-tools]`. This will enable the Pytest fixtures. Skipping this step will make Pytest collection fail due to missing dependencies.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this could be clearer still. These instructions are the general installation instructions so it's odd to start with 'As a dev dependency'.

I think we should just write something like:

  1. pip install flagsmith-common

  2. poetry add --G dev flagsmith-common[test-tools] - this is needed because x & y.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Improved in 51776be.

@matthewelwell matthewelwell removed the request for review from Zaimwa9 May 27, 2025 11:33
@khvn26 khvn26 requested a review from matthewelwell May 27, 2025 11:36
@matthewelwell matthewelwell merged commit b6a250b into main May 27, 2025
4 checks passed
This was referenced Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants