Skip to content
0:00 / 0:00

#flutter#bloc#bloc_test

Bloc Test Tutorial – Easier Way to Test Blocs in Dart & Flutter

Reso Coder

114K subscribers • 26 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

28K views6 years ago1 recommendation

Mobile developmentTools and practiceFlutter and React NativeTesting

Reso Coder demonstrates how to use the bloc_test package to write unit tests for Blocs in Flutter without boilerplate.

📗 Learn from the written tutorial & get the starter project 👇👇 resocoder.com/bloc-test-library-tutorial 🎯 The biggest Flutter conference in Europe: fluttereurope.dev 📧 Get Flutter news 📰 and resources: 👉 flutter.education 👨‍💻 Do you write good code? Find out now! resocoder.com/good-code-quiz Blocs are meant to hold logic and, as proper programmers, we should probably write some tests to verify whether or not the logic is correct. If you follow test-driven development, writing tests is even more crucial. There's one problem though - testing Blocs requires a lot of boilerplate. The bloc_test package sets out to solve this issue by providing abstractions even for testing! No more dealing with classic Streams. Go to my website for more information, code examples, and articles: ● resocoder.com Follow me on social media: ● instagram.com/resocoder ● facebook.com/resocoder ● twitter.com/resocoder

Why it's here

1 person recommends this

What people say. Recommended as a helpful guide for testing Flutter applications using the Bloc pattern.

u/MRresoMCin r/FlutterDev • Recommends

Bloc Test Tutorial – Easier Way to Test Blocs in Dart & Flutter