cloudcoderdotorg / CloudCoder

A web-based programming exercise system.
GNU Affero General Public License v3.0
71 stars 59 forks source link

better reporting of python runtime errors #67

Closed daveho closed 10 years ago

daveho commented 11 years ago

If a NameError occurs when executing a python test, this is really closer to a compiler error than a test failure, and it would be nice to report it as such.

I shoehorned in reporting in the "Message" column (which we really don't want for python function exercises), but this makes all of the columns too narrow, is ugly, etc.

daveho commented 10 years ago

Made some progress: I have almost-complete code that converts NameErrors to CompilerDiagnostics. I'll push it once it's complete.

daveho commented 10 years ago

Finished as commit dd87848938.