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

Test framework #24

Open
spietras opened this issue Nov 9, 2021 · 0 comments
Open

Test framework #24

spietras opened this issue Nov 9, 2021 · 0 comments
Assignees
Labels
cleanup Stay fresh feature New feature or request

Comments

@spietras
Copy link
Owner

spietras commented Nov 9, 2021

Now we have only one test: it's calling the rules with standard arguments and checks if all packages were installed correctly.

But as we grow, new arguments are added to the rules and possible input configurations are multiplying. We want to test if execution is successful depending on different inputs to the rules, not only with one standard input.

As these are repository rules, they are used inside a WORKSPACE file. This means that each different input configuration requires a different workspace.

It would be best to just have some configuration matrix with different input values. The test framework would make a workspace for each combination of values, check the execution there, and report which ones fail. The test can be the same as it is now - checking if installed package versions are correct.

@spietras spietras added feature New feature or request cleanup Stay fresh labels Nov 9, 2021
@spietras spietras self-assigned this Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Stay fresh feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant