mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-16 05:07:55 +08:00
2.8 KiB
2.8 KiB
Pre-release Validation Plan
This document contains a general purpose test plan for validating cellxgene prior to release.
All steps are expected to pass with no errors or malfunctions. Tester should check:
- CLI for errors (eg, build error, engine error)
- Browser console for errors
- Expected CLI and/or browser UI function
Backend Test
Getting started build & install validation:
Goal: validate build, install and example demo correctness, per Getting Started instructions.
- Clean clone of the cellxgene repo into a local directory
- Follow build & install instructions from the Getting Started guide
- Confirm no build or install errors
- Confirm
cellxgene --helpfunctions correctly
- Follow the example data set demo startup from Getting Started guide and confirm front-end data loads correctly
- Confirm all package (and other) version dependencies are correct and match
Tabula Muris
Goal: basic functional validation of b/e functions using Tabula Muris data and the scanpy engine.
- Precondition: cellxgene built & installed.
- Load the Tabula Muris data set:
cellxgene --title 'T. Muris' scanpy directory-name/ - Verify all metadata selectors display and have correct type/options:
- TODO: need list of metadata and their type
- ...
- Verify default graph display has expected layout. need screen shot of expected layout
- Verify selection controls work as expected:
- continuous metadata field
- categorical metadata field
- graph/lasso select
- Verify color by metadata type
- Select two cell sets and confirm differential expression compute succeeds
- Verify expression scatter plot is correct
Front-end Compatibility Test
Goal: verify front-end UI compatibility with a given browser variant/version/platform.
- Start back-end on PBM3K data set
- Load UI
- Verify all major UI modes/functions:
- Graph display
- Metadata selector display
- Title display
- Selection - single and multiple fields - correctly display in cluster graph
- Regraph & reset function correctly
- Differential expression calc & scatter plot display
- All graphs maintain consistent selection state
- All selection widgets (eg, continuous metadata selector) maintain correct status (consistent with graph displays)
- Verify overall performance is reasonable/interactive
- Verify no errors on CLI or browser console
End-to-end Functional Test
Goal: confirm end-to-end functional behavior is as expected.
ScanPy engine
- Basic data load and display
- ...
- Select & multi-select of metadata and coordinates
- ...
- Color by metadata
- ...
- Regraph / reset
- ...
- Differential expression: scatterplot, top-N genes, etc.
- ...
- Color by expression
- ...
- Arbitrary gene expression
- ...