Skip to content

Releases: gleb-sevruk/pycrunch-engine

1.5 Exception Viewer and Local variables

27 Mar 10:18
Compare
Choose a tag to compare

Added option to customize watch root folder (when run in monorepo); This will watch dependencies and rerun tests if files changed outside of current scope

engine:
  # Useful if you work in monorepo with multiple python projects (Default - `.`)
  change-detection-root: ../.. 

Exception markers as red X:

image

Exception stack trace for X markers

image

Local variables recorder together with exception

image

Added feature to see exception preview;
Alongside with exception preview popup there will be `Local Variables`, so you don't need to run debugger for simple cases;
Added separate gutter icon (red cross) for the lines where exception has occured.;
Added ability to navigate directly to exception from the test list.
Added different colors for markers in indeterminate state (they will no longer be green).
Fixed various issues where opening/closing project may use already disposed message bus;
UI small gliches fixes when using 2023.1 Pycharm;

Download:
pycrunch-intellij-connector-1.5.1.zip

1.4 - use less CPU-intensive file watcher

11 Feb 18:12
86a56dc
Compare
Choose a tag to compare

Previous file watcher was using full directory scan periodically to get a list of changes. Now library is changed and will use kernel events instead.

Also, added config reload/file watcher.

Disabled web-ui by default.

Added support for coverage exclusions via the configuration file.

[1.3.1] Support for aiohttp >= 3.8

22 Nov 23:53
7080ee9
Compare
Choose a tag to compare

AST Test discovery

28 Sep 15:26
b5ddb2a
Compare
Choose a tag to compare

This is a complete replacement for SimpleTestDiscovery.

Now tests will be searched inside AST-representation of test files. Test files are files that are starting or ending with test_ or tests_.

This method is far more robust than previous, via imports. Now test runner is far more stable and reliable that ever before

[1.2.3] Support for both Сoverage 4.x and 5.х+

20 Sep 18:24
5185672
Compare
Choose a tag to compare

Implemented preliminary support for coverage 5.x. In this implementation, the .coverage SQLite file will not be created during runs.

[1.2.2] Fixed issue with hanging asyncio loop

10 Jun 19:46
Compare
Choose a tag to compare

Fixed issue with aiohttp not terminating connection immediately on SIGHUP;

Before this commit versions of aiohttp > 3.6.0 hanged for 1 minute before termination.

[1.2.1] Pinned socketio/engineio dependency

29 Dec 09:27
Compare
Choose a tag to compare

This is a maintenance release to eliminate the error described in
https://plugins.jetbrains.com/plugin/13264-pycrunch--live-testing/reviews
and
#36

[207123] 2020-12-14 20:03:56,114 - engineio.server - ERROR - The client is using an unsupported version of the Socket.IO or Engine.IO protocols (further occurrences of this error will be logged with level INFO)

Start test via debugging

18 Aug 15:16
a3986e3
Compare
Choose a tag to compare

This release adds the ability to run test via debugger using PyCrunch plugin.
Follow this link https://pycrunch.com/docs/debugging-support to learn more

Also, fixed issues with non-stopping processes on windows when test execution is terminated.

Also, added connection watchdog - the engine will be killed if PyCharm connection is lost and not reestablished within 100 seconds.

1.1 Ability to terminate test execution

02 Aug 18:30
Compare
Choose a tag to compare

This is biggest update since release.

Added ability to terminate test execution.
Added information about tests currently in progress.

There are even more changes in pycrunch-engine from gathered feedback, including:

  • Faster test execution
  • Engine stability and better error reporting.
  • Support for test run termination and test execution timeout.

There are known issues with coverage v5 and pytest-coverage plugin.
If you experience that, please downgrade coverage by:
pip install coverage==4.5.3
and remove pytest-coverage plugin from venv and pytest.ini, while we are working on the next update.

1.0 Automatic configuration and dependencies update

16 Jun 21:59
Compare
Choose a tag to compare

This will include automatic .pycrunch-config.yaml file creation on first run. Also PyTest Pin was removed. Last known working versions were:
pytest==4.6.3
pytest==5.4.3