Skip to content

Peer Review for Linux #22

@gkwan-ibm

Description

@gkwan-ibm

Review and test this guide by a peer member with the following prespectives

  • by Firefox

README

  • Ensure that command substitutions use the $(cmd) format and not `cmd`
  • Ensure that the console output of the integrated tests do not include the [INFO] tab
  • Check the quality and presentation of guide according to Structure and Style Guideline
  • Check the appearance of the guide:
    • Table of contents
    • Headings
    • Paragraphs
    • code snippets
    • outputs
    • links (shoud open a new tab)
    • hotspots (should highlight the code correctly)
  • Check that the pom.xml, server.xml, and java files etc files are clean on the right code pane
    • Remove any dependencies and features that are not required
    • Ensure that the parent pom.xml files do not contain any dependencies, and all dependencies are specified in the children pom.xml files
    • lines are not too long and wrapped
    • lines are aligned nicely
  • Examples with the right outcomes are provided
  • Examples with the wrong outcomes, if any, are provided
  • Run Acrolinx Checker (above 70 score approximately)

pom.xml

Overall checks:

  • Check the consistency of guide with the template and other guides
  • Check the quality of code according to the best coding practices
  • Check that all licensing statements are properly stated in all files, with the correct year (Should be present in all Java files + the index.html)
  • Check that the directories are properly structured
  • Check that some of these page-tags are used in a guide: MicroProfile, Maven, Docker, Kubernetes, Gradle, Jakarta EE, Security, Cloud. Only these tags are visible on the website. Latest list here.
  • Check the attribution statement is accurate for the guide
  • Verify the GitHub Actions scripts, if any, are accurate and consistent with other guides

Additional tests:

  • tests where applicable:
    • Define test coverage and review with team (including guide contributor, if available)
    • Define detail test cases
    • Consider corner cases targeting the specific guide
    • Consider corner cases UI tests
    • Consider testing the curl command for localhost URLs
    • Make sure the index.html information is correct by visiting the root, e.g. http://localhost:9080
  • Testing with different IDEs, ie, Atom, Eclipse (Optional: VS.code, IntelliJ, Microclimate)
    • import the finish directory and see any complication error, unused import packages, etc
  • Consider SEO title and description for the guides
  • Ensure automated tests with GitHub Actions are enabled
  • Run diff -r start/ finish/ and there is no differences expect tag and end comments
  • Ensure that the automation tests are able to run when PR is created
  • Test the guide end-to-end with working instruction and sample code with either of the following Java
    • Java 11
    • Java 17
  • Perform all the defined test cases

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions