Skip to content

Commit

Permalink
Test lyrics texts explicitly
Browse files Browse the repository at this point in the history
Add explicit checks for lyrics texts fetched from the tested sources.

- Introduced `LyricsPage` class to represent lyrics pages for integrated
  tests.
- Configured expected lyrics for each of the URLs that are being
  fetched.
- Consolidated integrated tests in a new `TestLyricsSources` class.
- Mocked Google Search API to return the lyrics page under test.
  • Loading branch information
snejus committed Jan 13, 2025
1 parent 48c56dc commit 02386cc
Show file tree
Hide file tree
Showing 2 changed files with 612 additions and 120 deletions.
Loading

0 comments on commit 02386cc

Please sign in to comment.