I think for most high-school level work, use of the "assert" statement would
be the first thing to teach.
It can be used in an "if __name__ == '__main__': " construct in a module to
make a good quick test.

see https://launchpad.net/romanclass as an example.

Simple modules do not need anything as complex as unittest. It would be a
good advanced subject, though.
--
Vernon Cole
_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to