Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Defines the projects, tasks, and KPIs associated with building and maintaining the FIO QA. FIO QA is mainly focused on automated test coverage and is less concerned with defining manual test cases that can be followed by a QA engineer.

Overview

There are several categories of FIO QA:

...

fio and fio.contracts automated testing

...

fio.test javascript tests

...

Devnet release testing

...

Testnet release testing

...

Mainnet release testing

...

Application testing

...

Includes manual and automated testing of FIO applications:

  • Dashboard

  • Registration Site

...

SDK testing

...

Running of SDK unit tests for every release.

...

Chain.

Table of Contents
minLevel1
maxLevel2

Core chain and contract development

  • Bug fixes and minor (non-FIP and non-Project) feature improvements

QA of core chain and contracts

  • QA for all bugs fixes and minor feature improvements

  • Devnet, Testnet, and Mainnet release testing

fio and fio.contracts automated testing

fio and fio.contract QA is covered by the fio.test javascript test harness. New automated tests are created for every new action, endpoint and feature added to the protocol. Full regression tests are run for every release.

...

  • All features, especially Mainnet features, do not have full regression tests

  • Testing lags development and impacts releases

  • Limited QA resources to develop automated tests

  • No time to focus on test harness architecture

  • QA not integrated into CI pipeline

Devnet release testing

Devnet release testing is currently done by the development team. It involves deployment and upgrade testing of fio and fio.contracts.

Testnet release testing

Testnet release testing currently consists of:

  • Running an automated smoketest against Testnet before and after deployment

  • Some manual testing of Testnet using Cryptonym

  • Some manual testing of features by development and product teams

Mainnet release testing

Mainnet release testing currently consists of:

  • Some manual testing of Mainnet using Cryptonym

  • Some manual testing of features by development and product teams

Application testing

Application testing is currently covered by manual UAT testing by the development and product teams. Options being considered are:

  • Using Proof’d automated regression scans to catch changes

  • Writing Web UI automated tests

  • Increasing manual testing

SDK testing

SDK testing currently consists of:

  • SDK unit tests written by development team

  • Typescript unit tests run against new releases of fiosdk_typescript and new fio and fio.contracts releases

  • Kotlin and Swift unit tests are not currently maintained or run for new releases.

  • Go SDK is maintained by Blockpane. TBD on how unit tests are built or run. TBD on how Go SDK is maintained.

Resource estimates

  • 1 FTE for updating test harness and overseeing QA automated test development

  • 12 months FTE for adding missing regression tests (can be done by multiple developers)

    • Bounties or outsourcing?

  • 1.5 FTE for adding new regression tests for new features (2:1 ratio of developers to QA)

  • 0.2 FTE to maintain Proof’d or other automated test suite.

  • 0.2 FTE for release testing

  • 0.1 FTE for SDK release testing (does not include SDK unit test development)

Project Plan and KPIs

There are several categories of FIO QA:

...

Task

...

Description

...

KPIs

...

fio and fio.contracts new feature

...

Writing automated tests for new fio and fio.contracts features

...

Timely delivery of automated tests for new features. TBD on this process.

...

Backlog of fio and fio.contracts regression tests

...

Writing automated tests for backlog fio and fio.contracts features

...

Full test coverage for all FIO endpoints and actions

...

Devnet release testing

...

Work with devops to update Devnet test harness and manage all Devnet release testing

...

Timely Devnet testing

...

Testnet release testing

...

Release management of core chain and contract updates

  • Release Management for all FIPs

  • Develop and maintain integration pipeline

  • Define and manage the software development lifecycle

  • CI automation for chain and contract development and testing

  • Manage Devnet deployment and fork testing

  • Work with BPs to ensure timely Testnet and Mainnet releases

  • Maintain/upgrade internal FIO nodes (e.g., registration site nodes) to latest release

Ensuring the security of the FIO chain

  • Security playbook

Maintaining compatibility with and contributing to the EOSIO ecosystem

  • Work with EOSIO community to ensure FIO compatibility with evolution of EOSIO

  • Contribute to EOSIO code and tools

KPIs

Task

KPIs

Chain uptime

Downtime due to faulty code or bugs (does not include Block Producer mishaps).

  • With full resourcing: 99%

  • With reduced resourcing: 95%

For impacts to up time resulting from reduced QA resources see: https://fioprotocol.atlassian.net/wiki/spaces/FD/pages/475005006/QA+Strategy

Code delivery

  • Minor FIPs delivered to chain within 3 months

  • Maintain code delivery dashboard

QA

  • Automated tests for all new actions and endpoints

  • Maintain QA dashboard

    • summary of test coverage

    • tests in development with estimated release dates

  • Testnet testing completed within 2 hours of new releases

Mainnet release testing

Manage all manual and automated Mainnet release testing
  • Mainnet testing completed within 2 hours of new releases

Application testing

Maintain automated application harness (or write UI automated tests).Release management

  • Timely

reporting of new bugs.

Development and maintenance of automated tests.

CI Pipeline

Integrated fio.test and application testing into CI pipeline

Timely reporting of new bugs found by automated tests

SDK testing

Run SDK unit tests for every release

SDK tests run within 5 days of SDK releases or within 5 days of fio and fio.contract releases
  • delivery of Devnet, Testnet, and Mainnet releases. TBD on this process.

  • Maintain Release dashboard

    • Release pipeline

    • Release history and versioning

Documentation and knowledge sharing

  • Update Devhub with new feature info within 2 weeks of release

FIO Chain and contract security

  • Maintain security playbook

EOSIO compatibility and community support

Developer outreach and community building