![]() ![]() This post ( Pycharm unit test interactive debug command line doesn't work) suggests adding the -s option to the build configuration, which does not produce the desired result. I want to know if there is a way to configure this to catch debug level messages. ![]() In edit: It DOES appear that the console catches critical level log messages. The P圜harm documentation isn't particularly helpful here either, if any of you work there. JetBrains P圜harm 2017.2.3 圆4, JB P圜harm, P圜harm anaconda Setting > Project > Project Interpreter Project Interpreter, Add Local python.exe. I've tried fooling with the run configurations, but there doesn't seem to be a straightforward way to do this. The supported version control structures are minutes. It has the function of syntax request, evaluation and redesign of the source code, easy navigation between less, instructions, techniques and many others. I'm using the unittest2 module, and using P圜harm's automatic test discovery (which probably is based on nose, but I don't know). P圜harm Activation code 2021 is an excellent and comprehensive IDE for Python programmers who run the Django framework. But I can't figure out how this works with unit tests. The modules I'm testing have their own loggers, and normally I'd set a root logger to catch the debugging messages at a certain level, and pipe the other logs to a file. I'm sure this is a simple fix, but I'd like to view log messages in the P圜harm console while running a unit test. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |