Skip to content

Add documentaiton on how to test#153

Open
PabloHiro wants to merge 3 commits intoansible:develfrom
PabloHiro:feature/testing-instructions
Open

Add documentaiton on how to test#153
PabloHiro wants to merge 3 commits intoansible:develfrom
PabloHiro:feature/testing-instructions

Conversation

@PabloHiro
Copy link
Copy Markdown
Contributor

No description provided.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 12, 2026

Warning

Rate limit exceeded

@PabloHiro has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 28 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

TESTING.md Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be wired into the Sphinx docs, similar to contributing so it'll need a little infra change. But additionally, the content will need to be rewritten. Look into making it similar to https://github.com/ansible/pylibssh/blob/devel/docs/contributing/testing_guide.rst. I'll give more comprehensive advice tomorrow.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Moved it to the Sphinx docs, but I have not updated the contents. I am not familiar with sphinx syntax and I don't want to retest what works for a testing environment. I think it is better to have a simple working guide to non at all.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sphinx syntax

Sphinx can use either RST or MD. For MD, you'll need to follow MyST syntax. Since I've originally integrated both parsers, your change has been picked up and renders w/o errors: https://awx-plugins-core--153.org.readthedocs.build/en/153/contributing/testing/.

I'll take a look to see what we need to improve syntax-wise and also in terms of the content.

@PabloHiro PabloHiro force-pushed the feature/testing-instructions branch 2 times, most recently from b1a4f44 to 5e2bee7 Compare February 13, 2026 10:47
@PabloHiro PabloHiro force-pushed the feature/testing-instructions branch from 34b3596 to 10a4f77 Compare February 18, 2026 10:11
tox handles dependency installation and test execution automatically:

```bash
# Run the full test suite
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's rather unclear what "full" implies here. This runs the default toxenv under whatever python resolves to at the moment. It's probably more accurate to say pytest. I also like adding -qq to standard invocations lately — this hides output from tox and what's left is the pytest output (or other configured commands).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

@PabloHiro PabloHiro force-pushed the feature/testing-instructions branch from 0d86bd1 to c3596ab Compare February 19, 2026 10:41
@PabloHiro PabloHiro changed the title feat: adding TESTING.md file and updating CONTRIBUTING.md Add documentaiton on how to test Feb 19, 2026
@webknjaz webknjaz moved this to 🧐 @webknjaz's review queue 📋 in 📅 Procrastinating in public 😵‍💫 Feb 19, 2026
@webknjaz webknjaz self-assigned this Feb 19, 2026
@webknjaz webknjaz added the documentation Improvements or additions to documentation label Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants