ostests is a tool that allows you to create and publish interactive tests easily. The tests (or exams) support many different formats and most of the cases are intended to be auto-graded, but you can also include open questions that require the intervention of examiners.