Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Improve "How to write tests" documentation #5406

Merged
merged 4 commits into from
Dec 21, 2023
Merged

Conversation

Martchus
Copy link
Contributor

This PR is mainly about reformatting and restructuring. Checkout the particular commits for easier review. The real changes in wording/grammar are actually not much.

Note that everything after ==== SCHEDULE + ASSET_<NR>_URL is wrongly formatted as bold in the diff. However, I don't think this is related and the rendered version https://github.com/Martchus/openQA/blob/23ec4a97b27fd77dc3ad23a1b1b5fec07ff4290b/docs/WritingTests.asciidoc looks good. Of course I also tested the rendering of the whole documentation locally.

* Make "Job dependencies" its own sub-section under "Advanced test
  features" as it is about dependencies in general so placing it under
  "Writing multi-machine tests" makes not much sense
* Reduce the level of nesting in all affected sub-sections along the way
* Keep the content as-is
* The Kate text editor has been used to make the process as automatic as
  possible. This means also lines that were too short have been re-wrapped.
* The wrapping within code blocks has been preserved.
* The wrapping has been preserved where changes would have potentially
  caused problems with the AsciiDoc.
* Improve grammar, especially casing and punctuation
* Avoid excessive use of italics
Copy link

github-actions bot commented Dec 20, 2023

Great PR! Please pay attention to the following items before merging:

Files matching docs/*.asciidoc:

  • Consider generating documentation locally to verify it is rendered correctly using tools/generate-docs

This is an automatically generated QA checklist based on modified files.

@mergify mergify bot merged commit 1f7eb61 into os-autoinst:master Dec 21, 2023
36 checks passed
@Martchus Martchus deleted the doc branch December 21, 2023 18:13
os-autoinst-bot pushed a commit to os-autoinst-bot/openQA that referenced this pull request Dec 22, 2023
commit 1f7eb61
Merge: 3d06b02 23ec4a9
Author:     mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 21 16:42:02 2023 +0000
Commit:     GitHub <[email protected]>
CommitDate: Thu Dec 21 16:42:02 2023 +0000

    Merge pull request os-autoinst#5406 from Martchus/doc

    Improve "How to write tests" documentation
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