Skip to content

Testing

Daniel L. Young, Ph.D edited this page Aug 25, 2021 · 4 revisions

Software Testing

Please refer to the User Manual (UM) and LMMD Software Verification & Validation (V&V) SOP for more information.

Software testing involves the execution of a software component or system component to evaluate one or more properties of interest

Testing Strategy

In general, these properties indicate the extent to which the component or system under test:

  1. Meets the requirements that guided its design and development,
  2. Responds correctly to all kinds of inputs,
  3. Performs its functions within an acceptable time,
  4. Is sufficiently usable,
  5. Can be installed and run in its intended environments, and
  6. Achieves the general result of its stakeholders' desire.

Software Quality Assurance (SQA) requirements

Background

The EPA Quality Program provides requirements for conducting quality management activities for all environmental data collection and environmental technology programs performed by or for the Agency. The primary goal of the program is to ensure the Agency’s environmental decisions are supported by data of known and documented quality. The program covers the implementation of the EPA Information Quality Guidelines. CESER LRTD has taken additional steps to further implement the Scientific Integrity Policy at EPA for software design, development, implementation, and evaluation. We believe we are promoting a culture of scientific integrity by increasing transparency, supporting robust science, and encouraging professional development in the areas of software configuration management.

Checking code quality

Flake 8 shall be used as the primary tool for style guide enforcement. Flake8 can be used in many ways. A few options include: (1) Invoked on the command-line. (2) Invoked via Python. (3) Called by Git or Mercurial on or around committing.

The preferred method is as follows:

  • Prefer install hook for GitHub from command line, e.g., [ $ flake8 –install-hook=git ]
  • Use of command line [ $ flake8 FoodWaste ] is approved as well.

Data Limitations and SQA requirements for QA/QC verification

Existing Data

This tool has been designed to collect and store existing data per EPA QA requirements.

Additional information on data quality

Food Waste can be found in the approved QMP and QAPP.

Food Waste Data

Existing data is stored in the PostgreSQL database on the RTP RHEL server and can be exported via the tool using the Excel or PDF export functions.