summaryrefslogtreecommitdiff
path: root/TESTING.md
AgeCommit message (Collapse)AuthorFilesLines
2024-01-09Fix spelling mistakesEd Tanous1-2/+2
These were found with: codespell -w $(git ls-files | grep "\.[hc]\(pp\)\?$") At some point in the future, we might want to get this enabled in CI. Change-Id: Iccb57b2adfd06a2e177e99db2923fe4e8e329118 Signed-off-by: Ed Tanous <ed@tanous.net>
2023-02-14TESTING.md: Add Content-TypeGunnar Mills1-1/+1
From https://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1: Any HTTP/1.1 message containing an entity-body SHOULD include a Content-Type header field defining the media type of that body. Redfish also mentions this "In HTTP messages, the media type is specified in the Content-Type header." bmcweb is attempting to validate content-type header, https://gerrit.openbmc.org/c/openbmc/bmcweb/+/59941. This document could use other updates but leaving those alone. Tested: None. Document change. Change-Id: I2980b6a2cae41a62981e13f99d8822e672037719 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
2022-12-07markdownlint: fix all warningsPatrick Williams1-8/+8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I1402cbd84c916792ca2fc0ad0f34db661cbdfa72
2022-12-07format: reformat with latest openbmc-build-scriptsPatrick Williams1-29/+47
Reformat the repository using the latest from openbmc-build-scripts. Add the `static/redfish` directory to be ignored by prettier since these files come from elsewhere and having the ability to do a direct diff is handy. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I74464d6f97047b4888a591e0d8a4f5ca970ac69e
2022-04-14doc: add a testing doc as guidelines for commitsNan Zhou1-0/+129
Context: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/50742 is a small but important change that changes how http_connection works. Maintainers recommends doing a more complete testing for this type of change. I found that having some docs as reference when performing testing is helpful for every contributor. Add a document for different types of testing we want contributors to perform and include results in their commit messages. This doc will evolve. Also moved relevant sections in existing docs into this doc. Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: Ia0b35950540ec6efaa813516d0e545c4b8f7c609