-
Notifications
You must be signed in to change notification settings - Fork 6
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
[DRAFT] Stateful testing setup #67
Draft
moodmosaic
wants to merge
23
commits into
Trust-Machines:main
Choose a base branch
from
moodmosaic:stateful-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
823cefc
Add fast-check dependency to package.json for stateful testing
moodmosaic e807d2b
Add types.ts for defining the Model type, and an ice-breaker invariant
moodmosaic a290542
Add initial stateful test for BNS-V2 state interactions
moodmosaic 54c1071
Add GetOwnerNone invariant
BowTiedRadone 919de04
Add GetBnsFromIdNone invariant
BowTiedRadone 58cb131
Add GetPrimaryNameNone invariant
BowTiedRadone 1690083
Add GetNamespacePropertiesErr invariant
BowTiedRadone 1643b1a
Add GetNamespacePrice invariant
BowTiedRadone 452f704
Add CanNamespaceBeRegisteredTrue invariant
BowTiedRadone 2ae47bb
Add NamespacePreorder invariant
BowTiedRadone 3f63649
Add NamespaceReveal invariant
BowTiedRadone bf96e57
Add GetTokenUri invariant
BowTiedRadone c4ddb64
Add GetIdFromBnsNone
BowTiedRadone c0f3ee9
Add GetBnsInfoNone invariant
BowTiedRadone 3c44adf
Add checks for burned uSTX and TTLs
BowTiedRadone ea102b0
Add MngNamePreorder invariant
BowTiedRadone 487be2d
Add name to namePreorders key creation
BowTiedRadone a8106d8
Use ST27PT00YS01KBAEEETAH45C1H46C3FMJR31SN2S3.TESTNET-BNS-V2 in tests…
moodmosaic 13fe63d
Implement weighted invariants logic
BowTiedRadone c091c86
Update `numRuns` and `size` to fit vitest timeout
BowTiedRadone cb28312
Update logging function to log live
BowTiedRadone a79383f
Fix NamespaceReveal check condition
BowTiedRadone 61935de
Add NamespaceLaunch invariant
BowTiedRadone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👍 We should always use
fc.array/fc.oneof
instead offc.commands
. Explicit is better than implicit.