152 lines
15 KiB
Plaintext
152 lines
15 KiB
Plaintext
Generated music_library app
|
|
|
|
11:30:38.529 [debug] Exqlite: loading extension `/Users/cloud/github.com/cloud8421/music_library/_build/test/lib/music_library/priv/sqlite_extensions/darwin-aarch64/unicode.dylib`
|
|
|
|
11:30:38.529 [debug] Exqlite: loading extension `/Users/cloud/github.com/cloud8421/music_library/_build/test/lib/music_library/priv/sqlite_extensions/darwin-aarch64/unicode.dylib`
|
|
Running ExUnit with seed: 637247, max_cases: 1
|
|
|
|
|
|
MusicLibraryWeb.ErrorHTMLTest [test/music_library_web/controllers/error_html_test.exs]
|
|
* test renders 404.html [L#7]
|
|
* test renders 404.html (46.2ms) [L#7]
|
|
* test renders 500.html [L#11]
|
|
* test renders 500.html (0.2ms) [L#11]
|
|
|
|
MusicLibraryWeb.ErrorJSONTest [test/music_library_web/controllers/error_json_test.exs]
|
|
* test renders 404 [L#4]
|
|
* test renders 404 (5.5ms) [L#4]
|
|
* test renders 500 [L#8]
|
|
* test renders 500 (0.2ms) [L#8]
|
|
|
|
LastFm.FeedTest [test/last_fm/feed_test.exs]
|
|
* test update and broadcast it returns artists in descending order of scrobble [L#50]
|
|
* test update and broadcast it returns artists in descending order of scrobble (0.06ms) [L#50]
|
|
* test update and broadcast it stores the track and broadcasts the update [L#38]
|
|
* test update and broadcast it stores the track and broadcasts the update (0.02ms) [L#38]
|
|
* test update and broadcast it returns albums in descending order of scrobble [L#55]
|
|
* test update and broadcast it returns albums in descending order of scrobble (0.01ms) [L#55]
|
|
* test update and broadcast it returns tracks in descending order of scrobble [L#45]
|
|
* test update and broadcast it returns tracks in descending order of scrobble (0.02ms) [L#45]
|
|
|
|
MusicLibrary.Records.SearchParserTest [test/music_library/records/search_parser_test.exs]
|
|
* doctest MusicLibrary.Records.SearchParser.parse/1 (1) [L#4]
|
|
* doctest MusicLibrary.Records.SearchParser.parse/1 (1) (11.3ms) [L#4]
|
|
|
|
LastFm.ArtistTest [test/last_fm/artist_test.exs]
|
|
* test from_api_response/1 returns correct data [L#7]
|
|
* test from_api_response/1 returns correct data (12.9ms) [L#7]
|
|
|
|
Obsidian.ParserTest [test/obsidian/parser_test.exs]
|
|
* test parses the content of the Obsidian album entry [L#8]
|
|
* test parses the content of the Obsidian album entry (24.2ms) [L#8]
|
|
* test handles special characters in titles [L#32]
|
|
* test handles special characters in titles (1.0ms) [L#32]
|
|
|
|
MusicLibraryWeb.AuthTest [test/music_library_web/plug/auth_test.exs]
|
|
* test require_logged_in/2 when logged out, it redirects to /login [L#19]
|
|
* test require_logged_in/2 when logged out, it redirects to /login (4.9ms) [L#19]
|
|
* test require_logged_in/2 when logged in, it passes through [L#33]
|
|
* test require_logged_in/2 when logged in, it passes through (0.01ms) [L#33]
|
|
|
|
MusicLibrary.Records.CoverTest [test/music_library/records/cover_test.exs]
|
|
* test resize/1 it resizes to the desired size [L#7]
|
|
* test resize/1 it resizes to the desired size (56.7ms) [L#7]
|
|
|
|
LastFm.ConfigTest [test/last_fm/config_test.exs]
|
|
* test resolve/1 reads data from application configuration [L#5]
|
|
* test resolve/1 reads data from application configuration (0.01ms) [L#5]
|
|
|
|
LastFm.TrackTest [test/last_fm/track_test.exs]
|
|
* test from_api_response/1 returns correct data [L#7]
|
|
* test from_api_response/1 returns correct data (0.7ms) [L#7]
|
|
|
|
MusicLibrary.WishlistTest [test/music_library/wishlist_test.exs]
|
|
* test search_records/2 it respects offset [L#29]
|
|
* test search_records/2 it respects offset (26.1ms) [L#29]
|
|
* test search_records/2 returns matching records, excluding purchased records [L#21]
|
|
* test search_records/2 returns matching records, excluding purchased records (2.5ms) [L#21]
|
|
* test count/0 returns the count of records in the wishlist, excluding purchased records [L#47]
|
|
* test count/0 returns the count of records in the wishlist, excluding purchased records (2.1ms) [L#47]
|
|
* test search_records_count/1 returns the count of matching records, excluding purchased records [L#39]
|
|
* test search_records_count/1 returns the count of matching records, excluding purchased records (2.9ms) [L#39]
|
|
* test search_records/2 it respects limit [L#25]
|
|
* test search_records/2 it respects limit (2.5ms) [L#25]
|
|
|
|
MusicLibrary.CollectionTest [test/music_library/collection_test.exs]
|
|
* test search_records/2 it respects offset [L#50]
|
|
* test search_records/2 it respects offset (4.6ms) [L#50]
|
|
* test count_records_by_format/0 returns the count of records in the collection by format, excluding wishlisted records [L#76]
|
|
* test count_records_by_format/0 returns the count of records in the collection by format, excluding wishlisted records (2.3ms) [L#76]
|
|
* test get_random_record!/0 returns a random record [L#103]
|
|
* test get_random_record!/0 returns a random record (2.2ms) [L#103]
|
|
* test get_latest_record!/0 returns the most recently purchased record [L#92]
|
|
* test get_latest_record!/0 returns the most recently purchased record (2.9ms) [L#92]
|
|
* test search_records/2 returns matching records, excluding wishlisted records [L#41]
|
|
* test search_records/2 returns matching records, excluding wishlisted records (2.9ms) [L#41]
|
|
* test search_records_count/1 returns the count of matching records, excluding wishlisted records [L#68]
|
|
* test search_records_count/1 returns the count of matching records, excluding wishlisted records (2.7ms) [L#68]
|
|
* test count_records_by_type/0 returns the count of records in the collection by type, excluding wishlisted records [L#84]
|
|
* test count_records_by_type/0 returns the count of records in the collection by type, excluding wishlisted records (2.3ms) [L#84]
|
|
* test search_records/2 it respects order [L#56]
|
|
* test search_records/2 it respects order (2.5ms) [L#56]
|
|
* test search_records/2 it respects limit [L#46]
|
|
* test search_records/2 it respects limit (2.3ms) [L#46]
|
|
|
|
MusicLibraryWeb.WishlistLive.IndexTest [test/music_library_web/live/wishlist_live/index_test.exs]
|
|
* test Wishlist can purchase a record and move it to the collection [L#15]
|
|
* test Wishlist can purchase a record and move it to the collection (82.7ms) [L#15]
|
|
|
|
MusicLibraryWeb.CollectionLive.ShowTest [test/music_library_web/live/collection_live/show_test.exs]
|
|
* test Edit record from show page can navigate to the record edit form [L#19]
|
|
* test Edit record from show page can navigate to the record edit form (16.6ms) [L#19]
|
|
* test Show record it includes all needed information [L#33]
|
|
* test Show record it includes all needed information (7.1ms) [L#33]
|
|
|
|
MusicLibrary.RepoTest [test/music_library/repo_test.exs]
|
|
* test correctly loads the unicode extension unaccent function [L#5]
|
|
* test correctly loads the unicode extension unaccent function (0.1ms) [L#5]
|
|
|
|
MusicLibraryWeb.StatsLive.IndexTest [test/music_library_web/live/stats_live/index_test.exs]
|
|
* test Stats home page it shows the wishlist total count [L#70]
|
|
* test Stats home page it shows the wishlist total count (31.0ms) [L#70]
|
|
* test Stats home page it shows the collection counts (total, format, and type) [L#33]
|
|
* test Stats home page it shows the collection counts (total, format, and type) (26.5ms) [L#33]
|
|
* test Stats home page it shows the scrobble activity [L#76]
|
|
* test Stats home page it shows the scrobble activity (36.5ms) [L#76]
|
|
* test Stats home page it shows the latest purchase [L#56]
|
|
* test Stats home page it shows the latest purchase (24.6ms) [L#56]
|
|
|
|
MusicLibrary.ArtistsTest [test/music_library/artists_test.exs]
|
|
* test get_artist/1 it returns records with essential data [L#8]
|
|
* test get_artist/1 it returns records with essential data (0.8ms) [L#8]
|
|
|
|
MusicLibraryWeb.CoverControllerTest [test/music_library_web/controllers/cover_controller_test.exs]
|
|
* test GET /covers/:record_id serves the cover when etag doesn't match [L#32]
|
|
* test GET /covers/:record_id serves the cover when etag doesn't match (1.6ms) [L#32]
|
|
* test GET /covers/:record_id 404s when record doesn't exist [L#14]
|
|
* test GET /covers/:record_id 404s when record doesn't exist (1.6ms) [L#14]
|
|
* test GET /covers/:record_id accepts a size attribute for resizing [L#60]
|
|
* test GET /covers/:record_id accepts a size attribute for resizing (4.2ms) [L#60]
|
|
* test GET /covers/:record_id serves a 304 when etag matches [L#46]
|
|
* test GET /covers/:record_id serves a 304 when etag matches (0.8ms) [L#46]
|
|
* test GET /covers/:record_id serves the cover without etag [L#21]
|
|
* test GET /covers/:record_id serves the cover without etag (0.7ms) [L#21]
|
|
|
|
MusicLibraryWeb.SessionControllerTest [test/music_library_web/controllers/session_controller_test.exs]
|
|
* test POST /sessions/create it refuses an invalid password [L#26]
|
|
* test POST /sessions/create it refuses an invalid password (0.8ms) [L#26]
|
|
* test GET /login it shows the login form [L#6]
|
|
* test GET /login it shows the login form (0.9ms) [L#6]
|
|
* test POST /sessions/create it accepts a valid password [L#42]
|
|
* test POST /sessions/create it accepts a valid password (0.2ms) [L#42]
|
|
* test GET /login it resets the session [L#15]
|
|
* test GET /login it resets the session (0.2ms) [L#15]
|
|
|
|
MusicLibraryWeb.ArtistLive.ShowTest [test/music_library_web/live/artist_live/show_test.exs]
|
|
* test Show artist it shows records from the collection and the wishlist [L#79]
|
|
* test Show artist it shows records from the collection and the wishlist (7.3ms) [L#79]
|
|
* test Show artist it shows the artist bio and play count [L#34]
|
|
* test Show artist it shows the artist bio and play count (4.5ms) [L#34]
|
|
* test Show artist it gracefully handles errors in fetching bio and play count [L#58]
|
|
* test Show artist it gracefully handles errors in fetching bio and play count (3.0ms) [L#58]
|
|
|
|
MusicLibrary.RecordsTest [test/music_library/records_test.exs]
|
|
* test search_records_count/2 tagged search - artist [L#125]
|
|
* test search_records_count/2 tagged search - artist (2.9ms) [L#125]
|
|
* test import_from_musicbrainz_release/2 it saves a record with its cover art [L#243]
|
|
* test import_from_musicbrainz_release/2 it saves a record with its cover art (4.7ms) [L#243]
|
|
* test import_from_musicbrainz_release_group/2 it saves a record with its cover art [L#197]
|
|
* test import_from_musicbrainz_release_group/2 it saves a record with its cover art (4.2ms) [L#197]
|
|
* test search_records_count/2 tagged search - mbid [L#138]
|
|
* test search_records_count/2 tagged search - mbid (2.7ms) [L#138]
|
|
* test search_records/2 untagged search (with limit and offset) [L#80]
|
|
* test search_records/2 untagged search (with limit and offset) (3.0ms) [L#80]
|
|
* test search_records/2 tagged search - format [L#97]
|
|
* test search_records/2 tagged search - format (2.7ms) [L#97]
|
|
* test search_records_count/2 untagged search [L#117]
|
|
* test search_records_count/2 untagged search (2.5ms) [L#117]
|
|
* test get_record!/1 it fetches the record by id [L#150]
|
|
* test get_record!/1 it fetches the record by id (0.8ms) [L#150]
|
|
* test refresh cover/1 it fetches and stores the updated cover [L#296]
|
|
* test refresh cover/1 it fetches and stores the updated cover (5.1ms) [L#296]
|
|
* test search_records/2 tagged search - mbid [L#105]
|
|
* test search_records/2 tagged search - mbid (3.0ms) [L#105]
|
|
* test search_records_count/2 tagged search - album [L#121]
|
|
* test search_records_count/2 tagged search - album (2.4ms) [L#121]
|
|
* test search_records_count/2 tagged search - type [L#134]
|
|
* test search_records_count/2 tagged search - type (2.5ms) [L#134]
|
|
* test search_release_group/2 it returns results with correct limit and offset [L#182]
|
|
* test search_release_group/2 it returns results with correct limit and offset (0.1ms) [L#182]
|
|
* test create_record/1 populates computed values [L#35]
|
|
* test create_record/1 populates computed values (0.8ms) [L#35]
|
|
* test get_artists_records/1 it returns records with essential data [L#160]
|
|
* test get_artists_records/1 it returns records with essential data (0.8ms) [L#160]
|
|
* test search_records/2 tagged search - artist [L#92]
|
|
* test search_records/2 tagged search - artist (2.8ms) [L#92]
|
|
* test get_cover/1 it returns the record cover by id [L#172]
|
|
* test get_cover/1 it returns the record cover by id (0.6ms) [L#172]
|
|
* test search_records/2 tagged search - type [L#101]
|
|
* test search_records/2 tagged search - type (2.5ms) [L#101]
|
|
* test search_records_count/2 tagged search - format [L#130]
|
|
* test search_records_count/2 tagged search - format (2.6ms) [L#130]
|
|
* test search_records/2 tagged search - album [L#88]
|
|
* test search_records/2 tagged search - album (2.5ms) [L#88]
|
|
* test refresh_musicbrainz_data/1 updates release_ids and included_release_group_ids [L#54]
|
|
* test refresh_musicbrainz_data/1 updates release_ids and included_release_group_ids (1.0ms) [L#54]
|
|
|
|
MusicLibraryWeb.CollectionControllerTest [test/music_library_web/controllers/collection_controller_test.exs]
|
|
* test GET /api/collection/random it requires authentication [L#44]
|
|
* test GET /api/collection/random it requires authentication (0.6ms) [L#44]
|
|
* test GET /api/collection/latest it requires authentication [L#18]
|
|
* test GET /api/collection/latest it requires authentication (0.5ms) [L#18]
|
|
* test GET /api/collection/random it returns a random record [L#51]
|
|
* test GET /api/collection/random it returns a random record (2.2ms) [L#51]
|
|
* test GET /api/collection/latest it returns the latest record [L#24]
|
|
* test GET /api/collection/latest it returns the latest record (0.8ms) [L#24]
|
|
|
|
MusicLibraryWeb.CollectionLive.IndexTest [test/music_library_web/live/collection_live/index_test.exs]
|
|
* test Search and pagination uses query string params [L#84]
|
|
* test Search and pagination uses query string params (34.3ms) [L#84]
|
|
* test Updating record metadata can navigate to the record edit form [L#196]
|
|
* test Updating record metadata can navigate to the record edit form (4.8ms) [L#196]
|
|
* test Importing a new record it imports a record when selected [L#269]
|
|
* test Importing a new record it imports a record when selected (13.9ms) [L#269]
|
|
* test Importing a new record it shows the import modal [L#255]
|
|
* test Importing a new record it shows the import modal (2.4ms) [L#255]
|
|
* test Collection does not show wishlist records [L#35]
|
|
* test Collection does not show wishlist records (76.0ms) [L#35]
|
|
* test Tagged search supports filters [L#148]
|
|
* test Tagged search supports filters (27.0ms) [L#148]
|
|
* test Updating record metadata can change the record cover [L#210]
|
|
* test Updating record metadata can change the record cover (20.6ms) [L#210]
|
|
* test Tagged search supports raw queries [L#125]
|
|
* test Tagged search supports raw queries (18.7ms) [L#125]
|
|
* test Collection shows purchased records [L#46]
|
|
* test Collection shows purchased records (58.0ms) [L#46]
|
|
|
|
Finished in 0.8 seconds (0.2s async, 0.6s sync)
|
|
|
|
Top 5 slowest (0.3s), 36.2% of total time:
|
|
|
|
* test Wishlist can purchase a record and move it to the collection (MusicLibraryWeb.WishlistLive.IndexTest) (82.7ms) [test/music_library_web/live/wishlist_live/index_test.exs:15]
|
|
* test Collection does not show wishlist records (MusicLibraryWeb.CollectionLive.IndexTest) (76.0ms) [test/music_library_web/live/collection_live/index_test.exs:35]
|
|
* test Collection shows purchased records (MusicLibraryWeb.CollectionLive.IndexTest) (58.0ms) [test/music_library_web/live/collection_live/index_test.exs:46]
|
|
* test resize/1 it resizes to the desired size (MusicLibrary.Records.CoverTest) (56.7ms) [test/music_library/records/cover_test.exs:7]
|
|
* test renders 404.html (MusicLibraryWeb.ErrorHTMLTest) (46.2ms) [test/music_library_web/controllers/error_html_test.exs:7]
|
|
|
|
1 doctest, 85 tests, 0 failures
|