ryannutt / unittest Goto Github PK
View Code? Open in Web Editor NEWMoodle question type for JUnit testing student code
Moodle question type for JUnit testing student code
The editor needs to resize to 100% width on window resize to keep it from either staying narrow or too wide.
Instead of always showing the progress meter after an adaptive submission, it should be dependent on the quiz review options. Probably tied to the checkbox for whether correct and marks.
Allow the entry of a single method only instead of having to shell the entire class. When the class is missing, the method would have to be wrapped in a class before compiling.
This would also take figuring out what the class name would be because the JUnit file will need the class name for tests to run.
Need to format the output from JUnit better. Maybe something like the table at codingbat.com. Take the actual JUnit output and wrap it in a hidden div that can be shown.
The results shown after an unsuccessful attempt are not always the correct result.
In some cases they are from a previous result on the same question. On some cases they're an attempt on other questions from the same quiz when there are multiple code questions.
They do appear to always be from the correct user though.
May be related to the reason that sometimes the percentage bar is showing correct when the actual attempt is not actually correct.
The text field to enter the JUnit class name isn't needed. It should be able to be pulled from the file just like the student submitted class name is.
Add option to pull data files into the working directory so that code can be written to open and manipulate the data.
Looks like only the JUnit.jar file is getting included in the classpath parameter when the JUnit test class is compiled which is causing issues with assertThat which comes from hamcrest.
The previous code submissions are showing as a single line. Ideally I could wrap the code in a pre and have it display correctly. But it looks like it might be stored in the database as a single line, which would have to be fixed first.
Switched the policy file to be too often when testing file attachments. Need to lock it back down.
Need to add an error state if either java or javac, or the jar files, don't exist prior to trying to compile and run code. Right now it's just throwing a message that the JUnit couldn't run which isn't a good message.
The compiler results need to show on the manual grading screen. Right now it doesn't show anything except points.
Use the fullscreen JS API to allow the editor to go full screen;
Need to check formatting of how the JUnit output shows the expected and actual results. It's wrapped in <> which is causing it to disappear in the HTML.
The results from the compiler need to be wrapped in a <pre> tag so the tabbing is correct.
Probably not, especially with the attachments that just got added in ticket #4;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.