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

EPIC: Model-Based Testing using the Quint model #1238

Closed
3 tasks done
p-offtermatt opened this issue Aug 25, 2023 · 0 comments
Closed
3 tasks done

EPIC: Model-Based Testing using the Quint model #1238

p-offtermatt opened this issue Aug 25, 2023 · 0 comments
Assignees
Labels
admin: epic An EPIC -- meta issue used to track a body of work admin: key-result A key result (in the context of OKRs) S: Productivity Productivity: Developer tooling, infrastructure improvements enabling future growth

Comments

@p-offtermatt
Copy link
Contributor

p-offtermatt commented Aug 25, 2023

Problem

The existing difftest model is unmaintained. We want an alternative approach to automatically generating test traces.

Closing criteria

We have a minimal prototype for MBT of ICS using the Quint model.
It allows

  • generating traces, and
  • replaying traces

Problem details

The goal of this epic is to get a proof-of-concept prototype of model-based testing for interchain security.
The key outcome of this epic is data on the effort/reward ratio of model-based testing, and generally to get experience with the MBT approach. Accordingly, this epics deliverable is a minimal prototype.

A secondary goal is also to improve our confidence:
a) in the correctness of the model
b) in the alignment of the code with the model
c) and thus in the correctness of the code

The confidence increase in the correctness of the implementation is not the main outcome of the epic - the part of interchain security that the model deals with is already well tested (it is running in production!).
It is rather to try out this approach and get familiar with it, to judge whether this is something we want to incorporate more deeply e.g. when we make changes to the protocol, where increasing our confidence is crucial.

Task list

Must have

Preview Give feedback
  1. S: Productivity scope: testing
    p-offtermatt
  2. S: Productivity scope: testing
    p-offtermatt
  3. S: Productivity scope: testing
    p-offtermatt

Nice to have

Preview Give feedback
No tasks being tracked yet.
@p-offtermatt p-offtermatt added the admin: epic An EPIC -- meta issue used to track a body of work label Aug 25, 2023
@p-offtermatt p-offtermatt self-assigned this Aug 25, 2023
@mpoke mpoke added the admin: key-result A key result (in the context of OKRs) label Aug 28, 2023
@mpoke mpoke added this to Cosmos Hub Aug 28, 2023
@github-project-automation github-project-automation bot moved this to 🩹 Triage in Cosmos Hub Aug 28, 2023
@mpoke mpoke moved this from 🩹 Triage to 🏗 In progress in Cosmos Hub Aug 28, 2023
@mpoke mpoke added the S: Productivity Productivity: Developer tooling, infrastructure improvements enabling future growth label Sep 14, 2023
@mpoke mpoke changed the title Model-Based Testing using the Quint model EPIC: Model-Based Testing using the Quint model Sep 14, 2023
@github-project-automation github-project-automation bot moved this from 🏗 F3: InProgress to 👍 F4: Assessment in Cosmos Hub Dec 20, 2023
@mpoke mpoke moved this from 👍 F4: Assessment to ✅ Done in Cosmos Hub Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin: epic An EPIC -- meta issue used to track a body of work admin: key-result A key result (in the context of OKRs) S: Productivity Productivity: Developer tooling, infrastructure improvements enabling future growth
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants