PyCharm 2018.2 EAP1 发布,改进 Pytest 支持

  

PyCharm 2018.2 首个早期预览版已发布,可点此下载

New in PyCharm

改进 Pytest 支持:Fixtures(测试夹具), 以及更多


PyCharm 2018.2 支持在 Pytest 中使用测试夹具。使用测试夹具可以将 setup 代码与实际测试分开,从而获得更简洁、更易读的测试。此外,还改进了代码导航并重构 Pytest 测试,并使用参数化测试。

此外,还包括:

  • Type inference for math functions in Python 3 now works correctly

  • An issue where duplicates were shown in autocompletion popups has been resolved

  • Non-English characters in Django templates are now correctly handled

  • And more: read the release notes for details

下载地址:

猜你喜欢

转载自www.oschina.net/news/96383/pycharm-2018-2-eap1-released