Skip to content
    Back to all Bounties

    Earn 9,000 ($90.00)

    Time Remainingdue 1 year ago
    In Progress

    pytest for a python course

    BenDoherty2
    BenDoherty2
    Posted 1 year ago

    Bounty Description

    Problem Description

    I run a beginners python course, and when it first started I didn't know about pytest. I wrote an automatic marking system based on a completely homemade testing setup. It works, and it's been just fine for a long time now, but I'd like to explore converting it across to pytest so that others will have an easier time contributing to the code.

    The course code is here: https://github.com/design-Computing
    The course website is here: https://design-computing.github.io/
    and quite detailed instructions on how to set up the course are here: https://design-computing.github.io/md/week1

    I'm interested to see if there's an easy way for students, using vs code, to use the testing interface in the UI to test their code.
    I'd like to maintain the separation of their-code and course-code, as it is now, because that means that we can update the code during the semester without having to teach them anything too complex.

    There are a lot of different things that the system currently tests for. I don't need to know that they can all be done, I just need to be confident that I can keep extending it until it's all in pytest.

    Acceptance Criteria

    I'll be happy with a PR to one or both of the repos that make it possible to test a subset of a block of work (probably set 2, exercise 0)

    This is a very small project, I don't need you to do the migration, just set it up so that it works and I'll do the rest. If you think we need a more complex scoping process, you're overthinking it.

    I suspect that we'd need to talk this through a bit more, but this should be enough to give you an idea of what I'm thinking.

    Ben