Skip to content

Commit

Permalink
add StartedTestRun type state
Browse files Browse the repository at this point in the history
- this new type disallows users to misuse the run (eg. by emitting run
  artifacts when the run hasn't been started yet)
- this also shows that there is little value in having a TestRun object
  around, while not having started, due to the only action possible on
  it is to start it. It may be beneficial in the future to only allow
  started objects to exist, instead of having inert objects passed
  around. This is a slight change in usage, but not very consequential.
- also fix macros tests since this new StartedTestRun pattern
  highlighted that they were emitting invalid messages

Signed-off-by: mimir-d <[email protected]>
  • Loading branch information
mimir-d committed Oct 4, 2024
1 parent 4de99b2 commit d3f4bb4
Show file tree
Hide file tree
Showing 3 changed files with 444 additions and 426 deletions.
Loading

0 comments on commit d3f4bb4

Please sign in to comment.