Skip to content

Commit

Permalink
Add fancy badges.
Browse files Browse the repository at this point in the history
  • Loading branch information
Iiro Krankka committed Sep 15, 2018
1 parent 64f76f5 commit 6b0a977
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# image_test_utils

[![pub package](https://img.shields.io/pub/v/image_test_utils.svg)](https://pub.dartlang.org/packages/image_test_utils)
[![Build Status](https://travis-ci.org/roughike/image_test_utils.svg?branch=master)](https://travis-ci.org/roughike/image_test_utils)

Without providing mocked responses, any widget test that pumps up `Image.network` widgets will crash.

Copy-pasting [the code for mocking the image responses](https://github.com/flutter/flutter/blob/master/dev/manual_tests/test/mock_image_http.dart) to every new project gets a little boring. This helper library makes it easier to provide those mocked image responses.
Expand Down

0 comments on commit 6b0a977

Please sign in to comment.