Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TECH DEBT: Add tests for error scenarios in services #177

Merged
merged 15 commits into from
May 15, 2024

Fix Linux builds

603bdf9
Select commit
Loading
Failed to load commit list.
Merged

TECH DEBT: Add tests for error scenarios in services #177

Fix Linux builds
603bdf9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed May 15, 2024 in 1s

43.75% of diff hit (target 60.00%)

View this Pull Request on Codecov

43.75% of diff hit (target 60.00%)

Annotations

Check warning on line 37 in Sources/TMDb/Domain/Services/Account/AccountService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Account/AccountService.swift#L37

Added line #L37 was not covered by tests

Check warning on line 40 in Sources/TMDb/Domain/Services/Authentication/AuthenticationService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Authentication/AuthenticationService.swift#L39-L40

Added lines #L39 - L40 were not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/Certifications/CertificationService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Certifications/CertificationService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/Company/CompanyService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Company/CompanyService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/Configuration/ConfigurationService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Configuration/ConfigurationService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/Discover/DiscoverService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Discover/DiscoverService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/Genres/GenreService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Genres/GenreService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 37 in Sources/TMDb/Domain/Services/Movies/MovieService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Movies/MovieService.swift#L37

Added line #L37 was not covered by tests

Check warning on line 37 in Sources/TMDb/Domain/Services/People/PersonService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/People/PersonService.swift#L37

Added line #L37 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/Search/SearchService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Search/SearchService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/TVEpisodes/TVEpisodeService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/TVEpisodes/TVEpisodeService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/TVSeasons/TVSeasonService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/TVSeasons/TVSeasonService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/TVSeries/TVSeriesService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/TVSeries/TVSeriesService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/Trending/TrendingService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/Trending/TrendingService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 35 in Sources/TMDb/Domain/Services/WatchProviders/WatchProviderService.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/Domain/Services/WatchProviders/WatchProviderService.swift#L35

Added line #L35 was not covered by tests

Check warning on line 38 in Sources/TMDb/TMDbFactory.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/TMDbFactory.swift#L38

Added line #L38 was not covered by tests

Check warning on line 47 in Sources/TMDb/TMDbFactory.swift

See this annotation in the file changed.

@codecov codecov / codecov/patch

Sources/TMDb/TMDbFactory.swift#L47

Added line #L47 was not covered by tests