testsuite/README.md
-> None to explicitly indicate no return valuepylint flake8 pycodestyle and via pre commit hooks_test.py in tests directory
Test will be executedrun_tests and get_testcases in core/runner.py for more infoRequires python 3.9 or later.
# cd to this directory
cd <path/to/here>
python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r requirements.txt
# cd to the superfile repo root (parent of this)
cd <superfile_root>
./build.sh
.venv/bin/python3 main.py
Coming soon.
# cd to this directory
cd <path/to/here>
# If your python command refers to python3, you can use 'python' below
python3 -m venv .venv
.venv\Scripts\python -m pip install --upgrade pip
.venv\Scripts\pip install -r requirements.txt
# cd to the superfile repo root (parent of this)
cd <superfile_root>
go build -o bin/spf.exe
Notes
pyautogui sends keypress to process on focus..venv\Scripts\python main.py
-d or --debug to enable debug logs during test run.--close-wait-time options to increase wait time for superfile to close. Note : For now we have enforcing superfile to close within a specific time window in tests to reduce test flakiness-t or --tests to only run specific tests
python main.py -d -t RenameTest CopyTestlibtmux errors like libtmux.exc.LibTmuxException: ['no server running on /private/tmp/tmux-501/superfile'] Make sure your python version is up to date