- Mar 25, 2025
-
-
Hague Matthew UXAC009 authored
I.e. include class name. E.g. Rank.COMMON not COMMON.
-
- Jul 24, 2024
-
-
Hague Matthew UXAC009 authored
Intead of reporting a generic failed test exception, throw a StudentCodeException that contains the exception thrown by the student's code. This can then be checked by tester code in case an exception was expected.
-
- Jul 04, 2022
-
-
Hague Matthew UXAC009 authored
- Jan 17, 2022
-
-
Rowe Reuben UHAC003 authored
-
- Dec 14, 2021
-
-
Hague Matthew UXAC009 authored
-
- Dec 07, 2021
-
-
Hague Matthew UXAC009 authored
-
- Dec 04, 2021
-
-
Hague Matthew UXAC009 authored
The short message "expected output blah" can confuse students if their code outputs that line /next/. As in they added an extra line of output before the expected output. Warning now specifies when the line was expected.
-
Hague Matthew UXAC009 authored
If the call did not specify the return type, the return type is inferred from the method. This can give students the impression their code is returning the right datatype (because the tester is using it) even when it is not. A warning has been added to let students know that this may not be the case.
-
- Nov 28, 2021
-
-
Hague Matthew UXAC009 authored
-
Hague Matthew UXAC009 authored
The method call functions in CodeTester now expect an argument giving the return type. Can use "null" if you don't care.
-
- Nov 19, 2021
-
-
Hague Matthew UXAC009 authored
-
- Nov 18, 2021
-
-
Hague Matthew UXAC009 authored
The recursive search in the parents should call the recursive method, not the entry method. By calling the entry method, the original class was being lost.
-
- Nov 15, 2021
-
-
Hague Matthew UXAC009 authored
-
- Nov 11, 2021
-
-
Hague Matthew UXAC009 authored
Add parameter flag to indicate if a scriptedInteraction should finish the program. Make the flag default to true. Also make expectFinished account for remaining output with no end of line.
-
Hague Matthew UXAC009 authored
Add "expectFinished" method to SubmissionWrapper, use it in the scriptedInteraction convenience method defined in BaseTester.
-
- Oct 22, 2021
-
-
Hague Matthew UXAC009 authored
-
Hague Matthew UXAC009 authored
-
Hague Matthew UXAC009 authored
Can check static-ness, return type, param types, but not public/private yet.
-
- Oct 20, 2021
-
-
Hague Matthew UXAC009 authored
-
- Feb 13, 2021
-
-
Hague Matthew UXAC009 authored
-
Hague Matthew UXAC009 authored
-
- Dec 09, 2020
-
-
Hague Matthew UXAC009 authored
You can define if a null return value is considered an error. Useful if you need to use the returned object later on in the test.
-
- Nov 12, 2020
-
-
Hague Matthew UXAC009 authored
-
- Nov 11, 2020
-
-
Hague Matthew UXAC009 authored
-
- Nov 10, 2020
-
-
Hague Matthew UXAC009 authored
Currently only for constructing "safe" arrays that you want to use as arguments to student code -- no failure messages provided if construction fails beyond the normal java reflection exceptions. Use Character[] cs = new Character[] { 'A', 'B', 'C' }; Object arr = codeTester.constructArray(char.class, cs); codeTester.construct("StudentClass", arr); An example would be if you want a log char[] c0 = new char[] { 'A', 'B', 'C' }; StudentClass sc0 = new StudentClass(c0); which is better than StudentClass sc0 = new StudentClass([c@a82324234); which it shows if you just passed "new char[] { 'A', 'B', 'C' }".
-
Hague Matthew UXAC009 authored
Add suppressions for deliberate errors or bits where the compiler doesn't expect reflection.
-
- Nov 09, 2020
-
-
Hague Matthew UXAC009 authored
-
Hague Matthew UXAC009 authored
-
Hague Matthew UXAC009 authored
-
Hague Matthew UXAC009 authored
-
- Nov 05, 2020
-
-
Rowe Reuben UHAC003 authored
-
- Nov 04, 2020
-
-
Hague Matthew UXAC009 authored
-
Rowe Reuben UHAC003 authored
-
- Oct 29, 2020
-
-
Hague Matthew UXAC009 authored
-