Commit 20ffca98 authored by Alexander's avatar Alexander
Browse files

Update useMyErrorMessagesInTestCreation parameter in Terminal

parent 5bf5edc4
......@@ -23,7 +23,7 @@ public final class Terminal {
* If enabled Terminal creates a file with TestPairs of the current run
public static boolean isTestCreation = false;
private static boolean useMyErrorMessagesInTestCreation = true;
public static boolean useMyErrorMessagesInTestCreation = true;
private static StringBuilder testPairFile = new StringBuilder();
......@@ -78,7 +78,7 @@ public final class Terminal {
} else {
testPairFile.append("Error, ...");
testPairFile.append("Error, ...\n");
} else {
......@@ -10,6 +10,13 @@ import edu.kit.informatik.Terminal;
public class ManualTestCreation {
public static void main(String[] args) {
If you want to submit tests, it would be useful to give a reason
why your program outputs an error for others to comprehend.
If you don't want that exactly the error-messages of your program are used in the test,
you can still find and replace them afterwards (CTRL + R).
Terminal.useMyErrorMessagesInTestCreation = true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment