<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Moodle Plugins directory: javaunittest: Comments</title>
    <link>https://moodle.org</link>
    <description>Hallo Moodle Users. We have developed a new question-type called javaunittest and want to share it with the community. The plugin is a new version of the sojunit questtion type developed by Süreç Özcan for Moodle 1.8 (https://moodle.org/mod/forum/discuss.php?d=102690).</description>
    <generator>Moodle</generator>
    <language>en</language>
    <copyright>(c) 2026 Moodle - Open-source learning platform | Moodle.org</copyright>
    <image>
      <url>https://moodle.org/theme/image.php/moodleorg/core/1777401252/i/rsssitelogo</url>
      <title>moodle</title>
      <link>https://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <title>Wednesday, 19 June 2019, 2:12 PM - Mohammed Abdul Azeem</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-58638</link>
      <pubDate>Wed, 19 Jun 2019 06:12:26 GMT</pubDate>
      <description>by Mohammed Abdul Azeem. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello , i have installed this plugin , if i login and take the quiz as student am unable to find the code compile also it's not grading automatically , can anyone help me please&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-58638</guid>
    </item>
    <item>
      <title>Sunday, 19 November 2017, 11:56 PM - Paul P.</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-46601</link>
      <pubDate>Sun, 19 Nov 2017 15:56:27 GMT</pubDate>
      <description>by Paul P.. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Any chance for an upgrade for version 3.4?&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-46601</guid>
    </item>
    <item>
      <title>Tuesday, 22 August 2017, 8:10 PM - Shila Gray</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-44659</link>
      <pubDate>Tue, 22 Aug 2017 12:10:50 GMT</pubDate>
      <description>by Shila Gray. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;I am facing some problem while setting up coding quiz using JUNIT in Moodle.&lt;br&gt;
When I am trying to compile the code then it give below error :&lt;br&gt;
&quot;'ulimit' is not recognized as an internal or external command,&lt;br&gt;
operable program or batch file.&quot;&lt;br&gt;
&lt;br&gt;
can anyone help me to configure the JUNIT quiz with moodle.&lt;br&gt;
&lt;br&gt;
moodle version 3,1&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-44659</guid>
    </item>
    <item>
      <title>Tuesday, 9 May 2017, 2:57 AM - Doug Loomer</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-42571</link>
      <pubDate>Mon, 08 May 2017 18:57:31 GMT</pubDate>
      <description>by Doug Loomer. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Does javaunittest work in Moodle 3.2 or 3.3?&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-42571</guid>
    </item>
    <item>
      <title>Tuesday, 5 July 2016, 6:58 PM - Jörg Tuttas</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-36842</link>
      <pubDate>Tue, 05 Jul 2016 10:58:40 GMT</pubDate>
      <description>by Jörg Tuttas. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello Michael,&lt;br&gt;
we've just updated our Moodle installation to Version 3.1. Is your Plugin available for Version 3.1? &lt;br&gt;
&lt;br&gt;
Currently we've got an error by using the Plugin: JUNIT Test File Error: The submitted answer ist not compatible with the Test class or Test class can not be compiled (translated form german to english, I hope it is understandable). In our old Moodle Version (2.9) this question Type workes fine !&lt;br&gt;
&lt;br&gt;
Looking forward to hear from you !&lt;br&gt;
&lt;br&gt;
best regards&lt;br&gt;
&lt;br&gt;
Jörg&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-36842</guid>
    </item>
    <item>
      <title>Thursday, 25 June 2015, 8:16 AM - Paul P.</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-29403</link>
      <pubDate>Thu, 25 Jun 2015 00:16:08 GMT</pubDate>
      <description>by Paul P.. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Michael,&lt;br&gt;
&lt;br&gt;
Thanks for your reply.&lt;br&gt;
&lt;br&gt;
Before reading what you wrote above, I created a new option to display the result string.  It is very rudimentary, but it works with the existing code with minor modifications.  I've only tested it with assertEquals, but I think it should work with other assert* methods.  It basically looks for the existing strings in the junit error output like &quot;expected x but got y&quot; and outputs that text along with the String message in the assert* method.&lt;br&gt;
&lt;br&gt;
I put a pull request on github for this.  Take a look when you get a chance.  I appreciate your feedback on it.&lt;br&gt;
&lt;br&gt;
Best,&lt;br&gt;
Paul&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-29403</guid>
    </item>
    <item>
      <title>Wednesday, 24 June 2015, 8:46 PM - Michael Rumler</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-29395</link>
      <pubDate>Wed, 24 Jun 2015 12:46:13 GMT</pubDate>
      <description>by Michael Rumler. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hey Paul, &lt;br&gt;
thanks for your Feedback.&lt;br&gt;
&lt;br&gt;
Currently there is no feedback for the message string parameter of the overloaded assert*()-methods. We like the idea of a static feedback language to avoid any attack vectors against the escape functions or  to trick the regex used for parsing the junit output (to generate grades and feedback). This also avoids to get any system information which may be interesting for an attacker.&lt;br&gt;
&lt;br&gt;
For the next update we have plans to allow string literals as a first step (like assertArrayEquals(&quot;Array is ruined&quot;, ...), but not AssertArrayEquals(errstr, ...)) by preparsing and use of unique placeholders. And maybe the option to return the real junit assert error string (via regex) and/or stacktrace but with a global on/off switch for the admin and a warning.&lt;br&gt;
&lt;br&gt;
Best,&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-29395</guid>
    </item>
    <item>
      <title>Sunday, 21 June 2015, 9:56 PM - Paul P.</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-29348</link>
      <pubDate>Sun, 21 Jun 2015 13:56:17 GMT</pubDate>
      <description>by Paul P.. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hello, and thank you for this amazing plug-in.  I have used it successfully in Moodle 2.8.  I have a feature request:  it would be really great if you could add an feedback option for the results of the unit tests.  For example:&lt;br&gt;
&lt;br&gt;
sum(2,3); expected: 5; actual: 0;&lt;br&gt;
&lt;br&gt;
I think this would help students diagnose their errors on questions where more than one submission is allowed.&lt;br&gt;
&lt;br&gt;
Thanks again!&lt;br&gt;
Paul&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-29348</guid>
    </item>
    <item>
      <title>Tuesday, 21 October 2014, 2:33 PM - Konstantin Mergenthaler</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-25211</link>
      <pubDate>Tue, 21 Oct 2014 06:33:45 GMT</pubDate>
      <description>by Konstantin Mergenthaler. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Claudia,&lt;br&gt;
Testing multiple outer classes is currently not possible. Our current recommendation to circumvent this is is the use of inner classes. We are currently working on a version which wraps the code in the window in some additional hidden instructor-given code.&lt;br&gt;
Best,&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-25211</guid>
    </item>
    <item>
      <title>Monday, 20 October 2014, 3:09 AM - Claudia Wegmann</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-25185</link>
      <pubDate>Sun, 19 Oct 2014 19:09:18 GMT</pubDate>
      <description>by Claudia Wegmann. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hey there,&lt;br&gt;
is it posible to test more than one class in one question (for example to test object oriented code of students)?&lt;br&gt;
Thanks for answering =)&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-25185</guid>
    </item>
    <item>
      <title>Friday, 12 September 2014, 11:19 PM - Konstantin Mergenthaler</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-24531</link>
      <pubDate>Fri, 12 Sep 2014 15:19:50 GMT</pubDate>
      <description>by Konstantin Mergenthaler. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;@stacey mr: soon we will release a new version which will allow to sent the code to another server (via curl) to another server. this will also allows to terminate the entire test. Apart from this Timeouts for the Test will be provided.&lt;br&gt;
&lt;br&gt;
@cse batch: C programming tests will not be supported in the current and upcoming release. However the execution on a different server might be extended to setup a virtual machine to run the c code. This seems necessary to us as c does not provide a security manager &lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-24531</guid>
    </item>
    <item>
      <title>Thursday, 21 August 2014, 12:00 AM - Jhon Carlos</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-24039</link>
      <pubDate>Wed, 20 Aug 2014 16:00:44 GMT</pubDate>
      <description>by Jhon Carlos. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;can i perfrom a c programing test in it ?&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-24039</guid>
    </item>
    <item>
      <title>Saturday, 21 June 2014, 5:27 AM - Stacey Mr</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-23017</link>
      <pubDate>Fri, 20 Jun 2014 21:27:29 GMT</pubDate>
      <description>by Stacey Mr. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Has anyone found a way to set run time limits on each test case in the TestFile?  I have used @Test(timeout = 200)  and it seems to not respond to this.  The plugin is working perfectly, but I need it to only run each case for a limited amount of time.  Thanks.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-23017</guid>
    </item>
    <item>
      <title>Saturday, 22 March 2014, 8:57 PM - Gergely Bertalan</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-21488</link>
      <pubDate>Sat, 22 Mar 2014 12:57:11 GMT</pubDate>
      <description>by Gergely Bertalan. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;In the plugin, there is a polifile. It is a security manager, which checks for non-proper java code and prevent the execution of program code, which could damage the server. Furthermore, since the plugin creates and works in its own directory, in which the files are created on the server with user role, the plugin is not able to execute any program code, which could damage the server, since the test is executed with user role.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-21488</guid>
    </item>
    <item>
      <title>Saturday, 22 March 2014, 8:45 PM - Gergely Bertalan</title>
      <link>https://moodle.org/plugins/qtype_javaunittest#comment-21487</link>
      <pubDate>Sat, 22 Mar 2014 12:45:23 GMT</pubDate>
      <description>by Gergely Bertalan. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;The administrator wrote:&lt;br&gt;
&lt;br&gt;
This plugin contains potential privacy issues:&lt;br&gt;
How could a malicious user exploit this plugin? Could a user submit code that could cause a DOS attack with a loop, have direct access to files on the server, exhaust memory resources. It seems that it would be better if the evaluation and execution of the code made use of an external service. I am interested in comments from those more familiar with security.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/qtype_javaunittest#comment-21487</guid>
    </item>
  </channel>
</rss>