Intellij JUnit Console - I can't insert text

I have been an Eclipse user for a long time and I am doing some tests but I have found an issue with one, I can't insert text in the console of the Run, It's like I am not allowed. Then I can't pass that test. I have done a simpler test

    public void testHello(){
        BufferedReader br = new BufferedReader(new InputStreamReader(;
        try {

            String name = br.readLine();
            String sentence = "Hello "+name;
            Assert.assertEquals(sentence,"Hello World");
        } catch (IOException e) {


1 comment
Comment actions Permalink

that's currently not possible as normally tests should provide automatic testing. Why do you need such tests? Could you pass the data e.g. through vm params?


Please sign in to leave a comment.