Closed
Description
Description
UnitTestBot action is disabled for .py and enabled for .xml, .exe and others in Project view
To Reproduce
- Install one of the latest plugin builds from main in IntelliJ Idea 2022.2.3
- Install Python plugin from MarketPlace
- Create a Python project with Venv
- Add a sample code to it, for example :
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
if __name__ == '__main__':
print_hi('PyCharm')
- Right-click on Python-file
- Open .idea folder , right-click on .gitignore
- Right-click on *.xml
- Open venv folder, right-click on *.bat, *.exe, *.nu, *.fish
Expected behavior
Generate Tests with UnitTestBot...
should be enabled.
6.-8.Generate Tests with UnitTestBot...
should be disabled
Actual behavior
Generate Tests with UnitTestBot...
is disabled.
6.-8.Generate Tests with UnitTestBot...
is enabled
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3 (not latest)
Additional context
Action can be called from code with Alt+Shift+U
Nothing seems to happen when action is called on EXE, XML, .gitignore
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done