Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Testing] Investigate cost/benefit of in-memory network vs. E2E tests #404

Closed
1 of 8 tasks
bryanchriswhite opened this issue Feb 29, 2024 · 1 comment
Closed
1 of 8 tasks
Assignees
Labels
on-chain On-chain business logic testing Test (or test utils) additions, fixes, improvements or other

Comments

@bryanchriswhite
Copy link
Contributor

bryanchriswhite commented Feb 29, 2024

Objective

Determine whether in-memory tests can be sufficiently sped up to comparable runtime of an isomorphic test implemented using the E2E test harness by outlining the necessary steps and estimating level of effort of either approach.

Origin Document

Implementing claim/proof lifecycle integration tests (#403) depends on either a refactoring of existing in-memory network test helpers (implementing InMemoryCosmosNetwork; see: #290 & #307) OR framing such tests as "E2E tests" with along with the implementation of a mechanism sufficient to support isolation of such tests/scenarios (i.e. local/devnet state reset; likely via k8s go API).

Relates to and informs #255.

Goals

Deliverables

Non-goals / Non-deliverables

  • Refactoring in-memory network test helpers.
  • Implementing E2E test isolation support (network state reset).
  • Refactoring/rewriting any test code.

General deliverables

  • Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
  • Testing: Add new tests (unit and/or E2E) to the test suite.
  • Makefile: Add new targets to the Makefile to make the new functionality easier to use.
  • Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @bryanchriswhite
Co-Owners: @okdas @Olshansk

@bryanchriswhite bryanchriswhite added testing Test (or test utils) additions, fixes, improvements or other on-chain On-chain business logic labels Feb 29, 2024
@bryanchriswhite bryanchriswhite added this to the Shannon TestNet milestone Feb 29, 2024
@bryanchriswhite bryanchriswhite self-assigned this Feb 29, 2024
@bryanchriswhite bryanchriswhite moved this to 🔖 Ready in Shannon Feb 29, 2024
@Olshansk Olshansk self-assigned this Mar 5, 2024
@Olshansk Olshansk removed their assignment Apr 5, 2024
@bryanchriswhite
Copy link
Contributor Author

Closing as obsolete.

@github-project-automation github-project-automation bot moved this from 🔖 Ready to ✅ Done in Shannon Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-chain On-chain business logic testing Test (or test utils) additions, fixes, improvements or other
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants