Hi Leonid, The output of print statements is reported in the 'Unit testing' pane by standard, also in passing tests. You can use the 'Expand all' option to show details for every test. However, the prints won't be reported in the output of pytest, as shown with the 'Show output' menu item. At the moment, you can't add command line options to the pytest invocation or turn on the -rP option in another way. Feel free to open a feature request on https://github.com/spyder-ide/spyder-unittest/issues so that we won't forget.
All the best, Jitse On Monday, 16 November 2020 at 03:39:00 UTC [email protected] wrote: > Hi and thank you for the info, > > How would I configure pytest suite within Spyder IDE with full printouts? > For example, if I run pytest on the console, I'd use pytest -rP > package_test.py::class::method to print every print statement. I wasn't > able to find equivalent in the configuration. > > Thanks. > > --Leonid > > > > On Saturday, May 23, 2020 at 11:18:30 AM UTC-4 Jitse Niesen wrote: > >> Hi all, >> >> On the behalf of all contributors, I'm pleased to announce that version >> 0.4.1 of the unittest plugin for Spyder has been released. You can use the >> plugin to run test suites using the nose, pytest or unittest framework and >> view the results. This is a bug fix release, which is compatible with >> Spyder 4.1.x. However, this release is not compatible with Python 2. See >> the changelog >> <https://github.com/spyder-ide/spyder-unittest/blob/master/CHANGELOG.md> for >> further details. >> >> We recommend that you install the plugin using Anaconda, with the >> command: conda install -c spyder-ide spyder-unittest. To upgrade the >> plugin, replace "install" with "upgrade" in the command. An alternative >> but unsupported installation method is to use pip. >> >> Special thanks are due to Steffen Rehberg, who did most of the work for >> this release. >> >> Please report bugs and feature requests on the project GitHub website: >> https://github.com/spyder-ide/spyder-unittest >> >> Last, but not least, we welcome any contribution that helps making Spyder >> an efficient scientific development and computing environment. Join us to >> help creating your favourite environment! >> >> Enjoy! >> -Jitse >> >> -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/3793e0b3-e5c8-420a-86ef-9292e01ec032n%40googlegroups.com.
