Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

I've looked a lot for this kind of question and couldn't find anything, I think the answers here could be helpful to schools and their students.

My collage has problems with it's homework testing system and I'd like to offer them that i'll upgrade or rebuild their testing framework.

My collage testing method is totally black-box. Students write whatever they want as long as they pass the automated tests done on school server.

The teaching assistant then proofreads all students code commenting on faulty logic and bad practices. The problem is that it's not humanly possible to proofread all this code.

My question is this:

What do you think is the best homework testing method that'll encourage (or better, force) students to write good code, and secondly, as a result, will reduce the teaching assistant proofreading task to a minimum.

--We program in C++ on linux.

Thank you for you comments.

share|improve this question

closed as off-topic by Bruce McLeod Jun 24 at 1:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software engineering unrelated to testing are off-topic here, but can be asked on Programmers Stack Exchange." – Bruce McLeod
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
This would probably work better on academia.SE, where other educators have been solving similar problems –  Yamikuronue Jun 23 at 14:53
add comment

2 Answers 2

It is important to identify the problem you are trying to solve. Are you trying to reduce the teacher assistant work load or are you trying to graduate developers with good coding habits? You can easily reduce the TA workload by requiring the students to accomplish pre-ordained interim tasks (essentially revert your class to a spoon-fed high school curriculum - probably not what you are looking for!).

One alternative that I picked up in software testing is outlined in this blog post: http://www.softwaretestingclub.com/profiles/blogs/applying-the-lessons-of-rapid-testing-intensive This outlines a four-step critical thinking approach for breaking down the task into the basic requirements: identify the oracles (how you would identify a defect), the surfaces (what are the operational/development parameters), the risks (what is most likely to break), and a plan based on the previous steps (in this case, a development plan instead of a test plan). When they have problems, it is important to encourage questioning and communication to insure all of the process building blocks are in place (and make them show their work for each step). This isn't a guarantee for making them all exceptional developers, but it will better prepare the motivated ones for the real world by emphasizing critical thinking.

A year ago, I switched from software testing to hardware test automation development using a C-based framework. My experience using that approach allows me to develop the prototype software very quickly with a reputation for thoroughness and efficiency. One word of warning, this may take a semester or two to work the kinks out applying it to a classroom environment, but I think you will be happy with the results.

Good luck!

share|improve this answer
add comment

You can reduce teaching verification efforts by using automated c++ code verification tools, like:

All these tools are free.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.