dart-lang/mockito: Mockito-inspired mock library for Dart

548
STARS
44
WATCHERS
144
FORKS
56
ISSUES

mockito's Language Statistics

dart-lang's Other Repos

Star history of mockito
Issue history of mockito

mockito Recent Issues

Issue Title State Comments Created Date Updated Date Closed Date
Simplify mocking class with member return non-nullable value of generic type open 0 2022-11-26 2022-11-22 -
`fallbackGenerators` are actually called from real calls open 1 2022-11-18 2022-11-22 -
Mocks created with GenerateMocks do not throw on missing stub when the function returns a Future<void> open 5 2022-11-03 2022-11-22 -
A method with a return type of Offset is not created. closed 4 2022-10-27 2022-11-22 2022-10-27
Fails generation for List<VoidCallback>. open 3 2022-10-25 2022-11-22 -
Version 5.3.1 and greater for Dart is causing type 'SimpleIdentifierImpl' is not a subtype of type 'ListLiteral?' in type cast open 11 2022-10-20 2022-11-22 -
How to stub a getter with a manually implemented Mock class? closed 3 2022-10-17 2022-11-22 2022-10-17
Bad state: No method stub was called from within `when()`. Was a real method called, or perhaps an extension method? closed 5 2022-10-11 2022-11-22 2022-10-12
Task - triple check every case of enumerating DartType subtypes for RecordType open 0 2022-09-29 2022-11-22 -
Bump analyzer version closed 1 2022-09-22 2022-11-22 2022-09-22
Old analyzer version closed 5 2022-09-19 2022-11-22 2022-09-21
Feature - thenAnswer could different objects for every time it is called closed 1 2022-09-12 2022-11-22 2022-09-12
Change of Copyright notice closed 4 2022-09-06 2022-11-22 2022-09-06
build_runner execution time becomes extremely slow after upgrading from 5.2.0 to 5.3.0 closed 5 2022-09-02 2022-11-22 2022-09-27
Generated mocks should ignore deprecatedmember_use open 3 2022-08-19 2022-11-22 -
Rely on return-type inheritance to avoid writing a private type open 0 2022-08-16 2022-11-22 -
In mixed mode, instantiated mock is silently generated if there is a bound on type argument open 0 2022-08-09 2022-11-22 -
Weird generator behavior when trying to use to-be-generated mock as a type argument for another mock closed 1 2022-08-05 2022-11-22 2022-09-14
Build error on mockito v5.3.0 closed 3 2022-08-03 2022-11-22 2022-08-03
Generator should refuse to generate mock if there are members returning `Future<T>` if `T` is potentially non-nullable open 2 2022-08-03 2022-11-22 -
There is no way to generate a mock of `Foo<Bar>` if `Bar` is a type parameter bound closed 10 2022-08-03 2022-11-22 2022-09-14
Error when calling Dio from getter closed 3 2022-08-03 2022-11-22 2022-08-04
Error in combining mock and getter closed 3 2022-08-03 2022-11-22 2022-08-03
Consider generating method overrides when the type-to-mock is in a null safe library open 0 2022-08-02 2022-11-22 -
Generated Mocks should ignore `subtype_of_sealed_class` closed 1 2022-07-30 2022-11-22 2022-07-30
Error after upgrade to 5.3.0 open 7 2022-07-28 2022-11-22 -
Trying to set an expectation on unsupported method messes up Mockito internal state. open 1 2022-07-28 2022-11-22 -
build_runner outputs nothing after being executed open 2 2022-07-28 2022-11-22 -
type 'Null' is not a subtype of type 'Future<Response>' in type cast closed 3 2022-07-21 2022-11-22 2022-07-22
Getting Null Response on future functions in Cubit Test. closed 5 2022-07-20 2022-11-22 2022-07-22
Build Runner failure when Using `kIsWeb` constant open 2 2022-07-19 2022-11-22 -
Change directory for generated mocks open 4 2022-07-18 2022-11-22 -
Inconsistent styling of the generated code closed 2 2022-07-06 2022-11-22 2022-07-06
After migrating my code to flutter null safety I have some issues in some methods (anyNamed("") , any, captureAny ) closed 7 2022-06-21 2022-11-22 2022-08-16
Stubbing getter to throw Exception doesn't seem to work. closed 2 2022-06-10 2022-11-22 2022-06-14
When mockito/annotations fails to create a mock it would be good to know what class was trying to be mocked and where in the source code this class was added to be mocked closed 2 2022-06-09 2022-11-22 2022-07-28
[Bug] Generated mock is not a subtype of mocked type closed 3 2022-06-08 2022-11-22 2022-06-08
flutter GenerateMocks is not generated mock class closed 8 2022-05-26 2022-11-22 2022-07-28
update read me for latest flutter 3.0 closed 0 2022-05-23 2022-11-22 2022-07-28
Captialized import paths do not behave correctly open 0 2022-04-29 2022-11-22 -
Mocking XFile sometimes fails; mockito seems to generate inconsistent imports open 2 2022-04-11 2022-11-22 -
No stub was found which matches the arguments of this method call closed 1 2022-04-07 2022-11-22 2022-04-07
Mockito generates random contents open 4 2022-04-05 2022-11-22 -
Decide on the path forward once `matcher` is no longer the recommended solution open 2 2022-03-31 2022-11-22 -
Add support for manually creating defaults for non-null return values open 0 2022-03-09 2022-11-22 -
Detect when we try to create subclasses of sealed classes open 0 2022-03-09 2022-11-22 -
Header output uses a symlink open 0 2022-03-08 2022-11-22 -
is mokito support test of http at all? closed 1 2022-03-07 2022-11-22 2022-07-28
Provide examples for common third party libraries open 1 2022-02-22 2022-11-22 -
Mockito doesn't generate mocks when used in test_driver/main.dart closed 1 2022-02-16 2022-11-22 2022-02-16