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

Separate tester and course logic #35

Open
kalabukdima opened this issue Oct 11, 2023 · 0 comments
Open

Separate tester and course logic #35

kalabukdima opened this issue Oct 11, 2023 · 0 comments

Comments

@kalabukdima
Copy link
Contributor

Right now course tester is highly dependent on the course repository structure and config files (e.g. CMakeLists). It's very hard to make your own course repo without copying a working example, and there are no examples provided in this repo.

I think everything would be much simpler if the testing script would be defined in the course repo and the checker would just run a specified command to check the solution. The MakeTester aims to provide that option but it is not flexible enough because it doesn't allow access to repo files outside the current task directory.

I propose to add a new tester that just reads the command from the .tester.json file and runs that command to test the task and get the score. That would probably require #34 to be closed first.

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