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

Separating frontend from the executor #14

Open
rachitnigam opened this issue Aug 10, 2022 · 0 comments
Open

Separating frontend from the executor #14

rachitnigam opened this issue Aug 10, 2022 · 0 comments

Comments

@rachitnigam
Copy link
Owner

rachitnigam commented Aug 10, 2022

There is no reason for runt to tie together the frontend, which is responsible for figuring out which tests need to run, where the expect files are, etc. to the executor, which actually runs the commands in parallel and reports back results. We can use a generic intermediate form to specify which commands need to be executed for which tests:

[
  { "name": "compile:foo/one.txt", "cmd": "cc foo/one.txt", "expect": "foo/one.expect" }
]

The frontend is then responsible for computing these while the executor takes these as input and produces output results.

This will also allow us to connect to other testing frameworks like turnt.

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