Pycharm EDU print output suppressed?
I am trying to create a course in PyCharm EDU. However, while I can see output to the screen from the "print" command in the educator's view, when I run the source program, when I run the tests in either educator mode or in the preview of the class, no printouts from either the test code script or the actual file appear.
Is this intentional, or a setting that I have missed? If I am performing several test conditions, it would be helpful for me to indicate which tests passed or failed.
For example, I am trying to have the students determine whether a tree is a heap. My test code creates several scenarios (a heap, a non-heap, a tree with just one element, a tree with no elements.) Right now, all they get is a failure or success message. Yes, the failure message can indicate which failure happened, but they don't see which successes happened. If I am checking four things, it would be good to indicate that the first two passed, the third failed, and the program didn't get to the fourth.
Thank you!
请先登录再写评论。
Hi!
Yes, it's intentional. We don't run student's solution when check is being performed.
Unfortunately, your only option now is to pass all the information about passed tests as the part of failed message. Btw, we support html there, so you can format it nicely.
I like the idea very much, thank you. I created feature request https://youtrack.jetbrains.com/issue/EDU-979. You can vote for it to increase its priority and see progress.
Don't hesitate to ask more questions. We're always glad to receive feedback.