Skip to main content Skip to local navigation
Home » Posts tagged 'unit testing'

unit testing

Unit Testing a Question Bank

Unit Testing a Question Bank

I'm working on question sets for introductory programming classes in languages like Java, C and Matlab, with a possibility of extending into other commonly-used languages (in our department) like Python and Verilog. The idea is that these questions could be deployed into a protected lab test or an open in-class "flipped homework" environment. Key to […]

Automated Student Evaluations in C (part 5)

Automated Student Evaluations in C (part 5)

This is the fifth in the series of postings on automated grading in C. Here, I've modified the VPL exercise to include four possible flowcharts that the students can implement, but the particular flowchart now get assigned to the student based on the time of day. The VPL output (both "run" and "evaluate" looks like […]

Automated Student Evaluations in C (part 3)

Automated Student Evaluations in C (part 3)

This is the third post in the series on evaluating student assignments in VPL with C and unit testing. We're targeting using VPL on Moodle / eClass. Specifically, the bash scripts are based on the fantastic work of Smith College professor emeritus, Dr. Dominique ThiĆ©baut. He wrote about his VPL work here and while his […]

VPL: Simple C Assignment with Unit Testing

VPL: Simple C Assignment with Unit Testing

August 2021 Background Here, we're going to apply ThrowTheSwitch's Unity unit test framework to C programs. The test framework is available on GitHub. Three files need to be downloaded from the GitHub. There are a few more files that need to be developed within VPL to make it work, and those are described below. We're […]