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

Internal: Add "tests" to spec tests in addition to "steps" #23660

Closed
dsherret opened this issue May 2, 2024 · 1 comment
Closed

Internal: Add "tests" to spec tests in addition to "steps" #23660

dsherret opened this issue May 2, 2024 · 1 comment
Labels
chore something that we should get around to eventually

Comments

@dsherret
Copy link
Member

dsherret commented May 2, 2024

Note: This is for Deno's internal testing infrastructure.

These would be defined similar to steps, but you could name them:

{
  "tests": {
    "does_something": {
      "args": "run main.ts",
      "output": "main.out"
    },
    "some_other_test": {
      "args": "check main.ts",
      "output": "main.out"
    }
  }
}

These would run with fresh deno_dirs and possibly run in parallel. Ideally there should be a way to filter them.

@dsherret dsherret changed the title Add "tests" array to spec tests in addition to "steps" Internal: Add "tests" array to spec tests in addition to "steps" May 2, 2024
@dsherret dsherret added the chore something that we should get around to eventually label May 2, 2024
@dsherret dsherret changed the title Internal: Add "tests" array to spec tests in addition to "steps" Internal: Add "tests" to spec tests in addition to "steps" May 2, 2024
@satyarohith
Copy link
Member

Implemented in #23667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore something that we should get around to eventually
Projects
None yet
Development

No branches or pull requests

2 participants