Two questions:
Q1:
I am trying to write a java_method question. I cannot figure out however how to write testcases.
What is expected to be in the Test Case field? An expression? A method? A class?
I tried all of the above with no success.
Q2:
Actually what I am trying to achieve would be another type of question; a koan. Like this:
"What you should be written instead of __ to the following code to make the test pass?
@Test
public void assertEquals_tests_equality() {
assertEquals(true,__);
}
"
And I would expect the answer to be simply "true".
Is it possible to achieve?