Skip to content

Conversation

@saksham-gt
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Jun 29, 2022

Codecov Report

Merging #255 (9f6cd6b) into development (1420b0f) will increase coverage by 0.49%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           development    #255      +/-   ##
==============================================
+ Coverage         9.22%   9.72%   +0.49%     
==============================================
  Files              122     122              
  Lines             3404    3404              
==============================================
+ Hits               314     331      +17     
+ Misses            3090    3073      -17     
Impacted Files Coverage Δ
lib/presentation/core/app_widget.dart 76.92% <0.00%> (+76.92%) ⬆️
lib/presentation/themes/themes.dart 100.00% <0.00%> (+100.00%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@saksham-gt saksham-gt requested a review from Xazin June 30, 2022 08:04
testWidgets('Testing MultiBloc Provider', (tester) async {
await tester.pumpWidget(initialWidget);
final multiBlocProvider = find.byType(MultiBlocProvider);
expect(multiBlocProvider, findsOneWidget);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to check the providers values instance and validate that all the required blocs are provided

import 'package:collaction_app/application/crowdaction/subscription/subscription_bloc.dart';
import 'package:collaction_app/application/crowdaction/subscription_status/subscription_status_bloc.dart';

class MockAuthBloc extends MockBloc<AuthEvent, AuthState> implements AuthBloc {}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could call this file mocks.dart since it just contains mocks not fixtures

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed.

I saw some mocks in the test utilities file, they don't belong there.

@Xazin Xazin force-pushed the development branch 13 times, most recently from 5be7e86 to 77ff369 Compare December 11, 2022 20:08
@Xazin Xazin force-pushed the development branch 10 times, most recently from 05db9fc to 1ac5990 Compare December 19, 2022 21:36
@Xazin
Copy link
Member

Xazin commented Feb 8, 2023

@glitchpop-frenzy 👀

@Xazin Xazin force-pushed the development branch 2 times, most recently from 8906c8d to 649893f Compare March 4, 2023 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants