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

[Tigron]: roadmap and tracking epic for work on test tooling #3448

Open
7 of 27 tasks
apostasie opened this issue Sep 21, 2024 · 0 comments
Open
7 of 27 tasks

[Tigron]: roadmap and tracking epic for work on test tooling #3448

apostasie opened this issue Sep 21, 2024 · 0 comments

Comments

@apostasie
Copy link
Contributor

apostasie commented Sep 21, 2024

PR

Pending review

Work in progress

Test suites to rewrite

  • STARTED: builder
  • completion
  • TODO: compose
  • STARTED: container
  • image
  • ipfs
  • STARTED: login
  • network
  • system
  • volume
  • main

Issues and features

  • P0: Manager is evaluated before the command runs, while the Comparator in Output is evaluated after - this is confusing and prevents legit scenarios. Manager should only be evaluated after the command has run.
  • P0: rethink Data - need something to manipulate temp files ([STACKED] [WIP] [Tigron]: revised Data interface #4081)
  • P0: remove dependency on *testing.T and replace by tig.T everywhere
  • P1: following the rewrite of Command, test.Command is now a (mostly) empty shell - cleanup / refactor
  • P1: reintroduce Env, WD, etc to the command debug output
  • P1: add Config/Data details to the debug output
  • P1: API breaking: change comparators signature (remove info + tig.T)
  • P1: currently, the command is executing inside data.TempDir(), so, there is no distinction between . and TempDir from the command perspective. We may want to address that.
  • P1: missing something like .AddCleanup() when a routine inside Setup does want to add additional cleaning
  • P1: requirements should be able to manipulate the environment
  • P2: use of data.Identifier in subtests hoping to get the parent testid may be error prone - rethink Identifier()?
@apostasie apostasie changed the title Issues and requirements for next test-tooling updates [Tigron]: roadmap and tracking epic for work on test tooling Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant