Closed
Description
@kotp and I have discussed before the possibility of running our tests against functions from sourced libs instead of testing an executable script.
With the new mandate for stubs I think this is a good time to discuss whether or not we would prefer switching to this model.
Pros:
- Allow us to standardize the API of exercises.
- Allow easier static code analysis for the auto-mentor project (I've been meaning to work on that for us).
- Encourage students to modularize code into functions (perhaps leading to better bashers)
- Might make it easier for newcomers.
Cons:
- Robs autonomy from the students.
- More difficult to debug. Less savvy students might have trouble realizing how to write an interim implementation script that uses their lib, or they may not realize that they can source it into their interactive environment to play with their work. (That should be in docs or the readme's)
- it could make things slightly more complicated for some students.
Well, this is a big question/decision.
I welcome viewpoints from any and all of our maintainers, mentors, and students 😀