Tests to EXE

18 views
Skip to first unread message

Ketan Mangla

unread,
Jul 15, 2020, 2:54:48 PM7/15/20
to PyInstaller
I wrote some tests using the unittest module with selenium and am trying to convert them to a single exe file.

I have around 15 tests written in separate files and I want to generate a single exe for them.

I have tried to use the conventional:
pyinstaller --onefile -w 'filename.py' and have been skimming through the documentation but could not find anything useful.

I am flexible with the testing framework though (if it needs to be changed).

Can someone help me?

Ketan Mangla

unread,
Jul 15, 2020, 2:54:52 PM7/15/20
to PyInstaller
I have written some tests using the unittest module with Selenium and want to convert those tests into an .exe file.

I have tests written across 15 different files and I want a single exe generated for them. 
But I could not find how to convert the tests into an exe.

I tried the conventional pyinstaller command:
pyinstaller --onefile -w 'filename.py'

But that didn't work.

I have been skimming through the documentation for long but could not find anything useful.

Can someone help?

bwoodsend

unread,
Jul 16, 2020, 12:08:13 PM7/16/20
to PyInstaller

I’ve been meaning to write this for a while. Does this help?

Reply all
Reply to author
Forward
0 new messages