Skip to main content

A Seano plugin that generates the QA Notes view

Project description

QA Notes Formatter Plugin for Seano

This project provides a Seano formatter named "QA Notes" which, given a query of a Seano database, will generate a self-contained single-file HTML file presenting an overview of what changes need Quality Assurance (QA) attention.

Intended Use Cases

The intended use case of this Seano View is one where it is easy to forget to tell QA of one or more changes in the build you just sent them. This can happen because you spent a month working on a single feature and your memory is fuzzy on the early parts, or because you have multiple coworkers and you aren't an expert in what they did. Regardless of why you forgot to tell QA about some details, the common risks include:

  1. QA can miss bugs, leading to the bugs reaching production
  2. Product Managers can forget to inform other departments of changes
  3. UX and/or Marketing can forget to inform customers of changes
  4. When customers notice changes before employees do, it can make the project look disorganized or unreliable.

Typical Workflow

At time of development, a developer writes testing notes in Seano. The notes should be as thorough as reasonable: assume you might be on vacation when QA is reading it.

Later, when QA gets a build, the build includes a machine-written HTML file containing all of the testing notes written in this release, colloquially called the QA Notes. QA reads these notes to know what to test.

Schema

The QA Notes view uses this schema for notes:

---
# (OPTIONAL) URLs to an external ticketing system
tickets:
- https://example.com/tickets/EXAMPLE-1234

# (OPTIONAL) Customer-facing short release notes
customer-short-loc-hlist-md: # (or `customer-short-loc-hlist-rst` for RST)
  en-US:
  - Short sentence explaining this change to customers
  - "This is an hlist, which means:":
    - you can express a hierarchy here

# (REQUIRED) Employee-facing short release notes
employee-short-loc-hlist-md: # (or `employee-short-loc-hlist-rst` for RST)
  en-US:
  - Short sentence explaining this change to employees
  - "This is an hlist, which means:":
    - you can express a hierarchy here

# (OPTIONAL) Employee-facing long technical discussion
employee-technical-loc-md: # (or `employee-technical-loc-rst` for RST)
  en-US: |
    What was the problem?  What solutions did you reject?  Why did you choose
    this solution?  What might go wrong?  What can Ops do to resolve an outage
    over the weekend?

    This field is a single large Markdown blob.  Explaining details is good.

# (OPTIONAL) Customer Service-facing long technical discussion
mc-technical-loc-md:  # (or `mc-technical-loc-rst` for RST)
  en-US: |
    What was the problem?  What is the solution?  What might go wrong?  How can
    Customer Service fix a problem over the weekend?

    This field is a single large Markdown blob.  Remember that Customer Service
    watches over many products; be specific, but also be terse.

# (REQUIRED) QA-facing long technical discussion
qa-technical-loc-md:  # (or `qa-technical-loc-rst` for RST)
  en-US: |
    What new features need to be tested?  What old features need to be
    regression-tested?

    QA uses this section to perform QA, and also as a "diff" to update their
    own test plan archives.

    This field is a single large Markdown blob.  Explaining details is good.
    Assume that QA has zero knowledge of *what* to test, but that given that
    knowledge, they know *how* to test it.  Be specific in descriptions;
    avoid generalizations when practical.  Be as technical as you want.
    If QA has questions, they'll ask you.

Testing Locally

Starting from scratch, this is how to set up local unit testing:

# Create and enter a virtual environment:
virtualenv .venv
. .venv/bin/activate

# Install this Seano formatter plugin in the virtual environment in "editable mode"
pip install -e .

# Install extra dependencies needed by the unit tests:
pip install -r ci_utest_requirements.txt

Then, going forward, you can run unit tests like this:

pytest

Copyright 2024 Andrew Keller

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seano_formatter_qa_notes-2.0.0.tar.gz (28.4 kB view details)

Uploaded Source

File details

Details for the file seano_formatter_qa_notes-2.0.0.tar.gz.

File metadata

File hashes

Hashes for seano_formatter_qa_notes-2.0.0.tar.gz
Algorithm Hash digest
SHA256 b44d8f556d0e8cf6a971f70964aead803f2d71afcad1397197d49ce55c5d27a5
MD5 1605403ef2f386cf1afde688aac3ab0f
BLAKE2b-256 14ff1f2f0ed58569052397828cbe129ca94bf8ee12961930f3ebd45ad3219801

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page