spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.8k stars 1.62k forks source link

Low test coverage #1404

Closed Silverarmor closed 3 years ago

Silverarmor commented 3 years ago
----------- coverage: platform win32, python 3.9.2-final-0 -----------
Name                                       Stmts   Miss  Cover
--------------------------------------------------------------
spotdl\__init__.py                             1      0   100%
spotdl\__main__.py                             3      1    67%
spotdl\console\__init__.py                    40     13    68%
spotdl\download\__init__.py                    5      0   100%
spotdl\download\downloader.py                117     33    72%
spotdl\download\embed_metadata.py            148    123    17%
spotdl\download\ffmpeg.py                     48     10    79%
spotdl\download\progress_ui_handler.py       112     17    85%
spotdl\download\tracking_file_handler.py      41      9    78%
spotdl\parsers\__init__.py                     2      0   100%
spotdl\parsers\argument_parser.py             18      0   100%
spotdl\parsers\query_parser.py                67     25    63%
spotdl\providers\__init__.py                   4      0   100%
spotdl\providers\lyrics_providers.py          59     32    46%
spotdl\providers\metadata_provider.py         13      2    85%
spotdl\providers\provider_utils.py            57     14    75%
spotdl\providers\yt_provider.py               54     47    13%
spotdl\providers\ytm_provider.py              95      7    93%
spotdl\search\__init__.py                      3      0   100%
spotdl\search\song_gatherer.py               230    149    35%
spotdl\search\song_object.py                  68     13    81%
spotdl\search\spotify_client.py               26      3    88%
--------------------------------------------------------------
TOTAL                                       1211    498    59%

Notable new features that we probably should've added tests for but didn't:

xnetcat commented 3 years ago

Can work on tests after releasing 3.9

xnetcat commented 3 years ago

won't work on this in v3, v4 soon