Comments (2)
Hi there!
Terribly sorry I had no idea I was missing notifications for this project. Although I'm wondering now if the semester's over if I'm too late in my reply. In general, definitely interested in contributors to maintain the project since I'm out of school now and have no personal use for grading Java 8 assignments haha.
But great idea! So I know originally I was a little apprehensive about including stack-traces because I was afraid of leaking test information to the students. I.e. the stack trace will include the calls that are part of our testing, not just their code, - and depending on the setup they might be able to figure out things about hidden tests we didn't want them to find out.
Although it would be cool if this was configurable so you could turn stack-printing on or off. If you're interested I could point you to the relevant spot in the code and create a branch to do this and help a little.
But the relevant file is https://github.com/tkutcher/jgrade/blob/dev/src/main/java/com/github/tkutche1/jgrade/gradedtest/GradedTestListener.java . That very bottom method is where we intercept a failed test. If you look at the JUnit API for Failure we can get the trace in that object - https://junit.org/junit4/javadoc/4.12/org/junit/runner/notification/Failure.html#getTrace() . But (for reasons I mentioned earlier, not 100% sure if they are valid or not), this should at least be something that can be disabled.
Thanks for the report.
Cheers,
Tim
from jgrade.
Thanks for the really in depth reply! I've graduated as well at this point, so I'm afraid I can no longer use the feature. It was a really useful framework for running our class - thanks for making it :)
Hope you're well.
from jgrade.
Related Issues (10)
- Refactor main method to be more callable from code
- Determine domain for package HOT 1
- CheckstyleGrader isFileToCheck extensibility
- Add unit tests for CLITester and CheckstyleGrader HOT 1
- Add method/member to CLIResult to track if the run encountered exceptions / if the invocation worked. HOT 1
- GradingStrategy on top of Grader to grade deductively HOT 2
- jgrade jar not found in gradescope example because of outdated run.sh HOT 1
- tkutche1 or tkutcher?
- I created a fork that fixes bit rot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jgrade.