hide testcode just for one test case but display testcode for "use as example" test case

Re: hide testcode just for one test case but display testcode for "use as example" test case

by fab med -
Number of replies: 0
Done !

{{ STUDENT_ANSWER | replace({'public class ': 'class '}) }}

public class __tester__ {

public static void main(String[] args) {
__tester__ main = new __tester__();
main.runTests();
}

public void runTests() {
{{ TEST.extra}}
{{ TEST.testcode }}
}
}

Thank you very much !!