Skip to content

[Testing] Organize Pocket Repo TestUtils #796

@Olshansk

Description

@Olshansk

Objective

Design and organize all test tooling used throughout the V1 Pocket code base.

Origin Document

This is an umbrella ticket used to capture the work that will be split out of the TestUtils document prepared by @bryanchriswhite and @dylanlott: https://www.notion.so/pocketnetwork/Testutils-9cba9010e18447248e9daa8a3b87e3f2?pvs=4

Goals

  1. Consolidate the best practices we’ve been building for testing purposes
  2. Determine a location for mocks, helpers and testing related documentation

Deliverable

  • GitHub Issues for each component/subcomponent in the origin document to track the design & implementation of the actual work.

Non-goals / Non-deliverables

  • Business logic changes unrelated to testing, but everything else (CLI, RPC, E2E, unit tests, etc is fair game)

General issue deliverables

  • Update the appropriate CHANGELOG(s)
  • Update any relevant local/global README(s)
  • Update relevant source code tree explanations
  • Add or update any relevant or supporting mermaid diagrams

Testing Methodology

  • Task specific tests or benchmarks: make ...
  • New tests or benchmarks: make ...
  • All tests: make test_all
  • LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md
  • k8s LocalNet: verify a k8s LocalNet is still functioning correctly by following the instructions here

Creators: @bryanchriswhite @dylanlott (creators of the origin document)
Co-Owners: Olshansk

Metadata

Metadata

Labels

coreCore infrastructure - protocol relatedtestingDefining, adding, automating or modifying tests

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions