Giter VIP home page Giter VIP logo

clean_architecture_tdd's Introduction

clean_architecture_tdd Reso Coder (Null-safety)

(Null-safety) This is a Number Trivia app example using clean architecture TDD and flutter_bloc 7.3.0

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

clean_architecture_TDD

clean_architecture_tdd's People

Contributors

thomasviana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

clean_architecture_tdd's Issues

network_info_test.dart

type 'Null' is not a subtype of type 'Future'
package:internet_connection_checker/internet_connection.dart 184:20 MockInternetConnectionChecker.hasConnection
test/core/network_info_test.dart 23:42 main..

Error in bloc

Error while send 08 number and use de green button.

Failed assertion: line 137 pos 7: '!_isCompleted':
package:bloc/src/bloc.dart:137
2
E/flutter (14410):
E/flutter (14410): emit was called after an event handler completed normally.
E/flutter (14410): This is usually due to an unawaited future in an event handler.
E/flutter (14410): Please make sure to await all asynchronous operations with event handlers
E/flutter (14410): and use emit.isDone after asynchronous operations before calling emit() to
E/flutter (14410): ensure the event handler has not completed.
E/flutter (14410):
E/flutter (14410): BAD
E/flutter (14410): on((event, emit) {
E/flutter (14410): future.whenComplete(() => emit(...));
E/flutter (14410): });

code ...

assert(
!_isCompleted,
'''\n\n
emit was called after an event handler completed normally.
This is usually due to an unawaited future in an event handler.
Please make sure to await all asynchronous operations with event handlers
and use emit.isDone after asynchronous operations before calling emit() to
ensure the event handler has not completed.

BAD
on((event, emit) {
future.whenComplete(() => emit(...));
});

Got Error Expected: Actual

package:test_api expect
package:flutter_test/src/widget_tester.dart 460:16 expect
test\features\number_trivia\data\models\number_trivia_model_test.dart 23:11 main..

Expected: NumberTriviaModel:
Actual: NumberTriviaModel:

Снимок экрана (69)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.