feat(widgetbook_app): create widgetbook app #27
GitHub Actions / 🧪📊 Unit tests report
succeeded
Feb 11, 2024 in 0s
🧪📊 Unit tests report ✔️
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test_reports/home_test_report.json | 2✔️ | 28s | ||
test_reports/statistic_test_report.json | 32✔️ | 41s |
✔️ test_reports/home_test_report.json
4 tests were completed in 28s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
features/home/test/src/domain/usecases/get_all_banner_test.dart | 2✔️ | 48ms |
✔️ features/home/test/src/domain/usecases/get_all_banner_test.dart
(setUpAll)
(tearDownAll)
GetAllBanner
✔️ should return list of banners if call success
✔️ should return failure if exception if failed
✔️ test_reports/statistic_test_report.json
53 tests were completed in 41s with 32 passed, 0 failed and 0 skipped.
✔️ features/statistic/test/src/data/datasources/covid_test_remote_data_source_test.dart
(setUpAll)
(tearDownAll)
CovidTestRemoteDataSource latest()
✔️ should return list of covid test when success
✔️ features/statistic/test/src/data/datasources/statistic_remote_data_source_test.dart
(setUpAll)
(tearDownAll)
StatisticRemoteDataSource latest()
✔️ should return latest data of covid-19 when success
StatisticRemoteDataSource latestNational()
✔️ should return latest national data of covid-19 when success
✔️ features/statistic/test/src/data/repositories/covid_test_repository_impl_test.dart
(setUpAll)
(tearDownAll)
CovidTestRepositoryImpl latest()
✔️ should return list of covid test when success
✔️ should return failure when response not success
✔️ should return failure when exception occured
✔️ features/statistic/test/src/data/repositories/statistic_repository_impl_test.dart
(setUpAll)
(tearDownAll)
StatisticRepositoryImpl latest()
✔️ should return latest statistic of covid-19 when success
✔️ should return failure when exception occured
StatisticRepositoryImpl latestNational()
✔️ should return latest national statistic of covid-19 when success
✔️ should return failure when exception occured
✔️ features/statistic/test/src/domain/entities/covid_test_test.dart
(setUpAll)
CovidTest
✔️ total properties should the same as total of other property
✔️ reactivePercentage is equals to positive/total
✔️ nonReactivePercentage is equals to negative/total
✔️ invalidPercentage is equals to invalid/total
✔️ inProcessPercentage is equals to process/total
✔️ nameAbbreviation return first letter of every word from name
✔️ features/statistic/test/src/domain/usecases/get_latest_covid_test_test.dart
(setUpAll)
(tearDownAll)
GetLatestCovidTest
✔️ should return list of covid test when success
✔️ should return covid test failure when failed
✔️ features/statistic/test/src/domain/usecases/get_latest_national_statistic_test.dart
(setUpAll)
(tearDownAll)
GetLatestNationalStatistic
✔️ should return latest national covid-19 statistic when success
✔️ should return statistic failure when failed
✔️ features/statistic/test/src/domain/usecases/get_latest_statistic_test.dart
(setUpAll)
(tearDownAll)
GetLatestStatistic
✔️ should return latest covid-19 statistic when success
✔️ should return statistic failure when failed
✔️ features/statistic/test/src/presentation/blocs/latest_covid_test/latest_covid_test_bloc_test.dart
(setUpAll)
(tearDownAll)
LatestCovidTestBloc
✔️ should emit nothing when initialize
✔️ should emit [Loading,Loaded] states when success
✔️ should emit [Loading,Empty] states when success and data empty
✔️ should emit [Loading,Failed] states when failed
✔️ features/statistic/test/src/presentation/blocs/latest_national_statistic/latest_national_statistic_bloc_test.dart
(setUpAll)
(tearDownAll)
LatestNationalStatisticBloc
✔️ should emit nothing when initialize
✔️ should emit [Loading,Loaded] states when success
✔️ should emit [Loading,Failed] states when failed
✔️ features/statistic/test/src/presentation/blocs/latest_statistic/latest_statistic_bloc_test.dart
(setUpAll)
(tearDownAll)
LatestStatisticBloc
✔️ should emit nothing when initialize
✔️ should emit [Loading,Loaded] states when success
✔️ should emit [Loading,Failed] states when failed
Loading