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

Support selecting a single test or file on assert #783

Open
mariana-s-fernandes opened this issue Feb 26, 2024 · 1 comment
Open

Support selecting a single test or file on assert #783

mariana-s-fernandes opened this issue Feb 26, 2024 · 1 comment
Labels
Enhancement New feature or request Good First Issue Good for newcomers Help Wanted Requesting help from the community

Comments

@mariana-s-fernandes
Copy link

I would like the assert command to support selecting a single file or test so we could make our testing more modular.
Looker sdk supports this: https://developers.looker.com/api/explorer/4.0/methods/Project/run_lookml_test

@joshtemple
Copy link
Collaborator

Hey @mariana-s-fernandes! I think this is a great idea! This isn't something we're likely to prioritize soon, but I think it would be a pretty straightforward change to make if you or someone else would be willing to submit a PR.

The necessary code is here, you can see we get all tests and then pass them into the validate method.

Probably we would prefer to pass in some kind of a filter from the CLI, or even specific test names.

@joshtemple joshtemple added Enhancement New feature or request Help Wanted Requesting help from the community Good First Issue Good for newcomers labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Good First Issue Good for newcomers Help Wanted Requesting help from the community
Projects
None yet
Development

No branches or pull requests

2 participants