9c504d2c3d
Features: - Frontend Flutter avec thème néon cyberpunk - Backend FastAPI avec streaming YouTube - Base de données PostgreSQL + Redis - Authentification JWT complète - Recherche multi-source (DB + YouTube) - Playlists CRUD avec drag & drop - Queue management - Settings avec audio quality - Interface adaptative (Desktop + Mobile) Tech Stack: - Frontend: Flutter 3.2+, Riverpod - Backend: Python 3.11+, FastAPI - Database: PostgreSQL 15+ - Cache: Redis 7+ - Streaming: yt-dlp + FFmpeg 🚀 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
692 B
Dart
29 lines
692 B
Dart
/// Search Provider Tests
|
|
library;
|
|
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
import 'package:spotify_le_2/presentation/providers/search_provider.dart';
|
|
|
|
void main() {
|
|
group('SearchNotifier', () {
|
|
// TODO: Setup mock MusicApiService
|
|
|
|
test('initial state is empty', () {
|
|
// TODO: Implement test
|
|
});
|
|
|
|
test('search updates state with results', () {
|
|
// TODO: Implement test with mocked API
|
|
});
|
|
|
|
test('search debounces input', () async {
|
|
// TODO: Test that debounce timer works correctly
|
|
});
|
|
|
|
test('clear resets state', () {
|
|
// TODO: Test clear functionality
|
|
});
|
|
});
|
|
}
|