An open API service indexing awesome lists of open source software.

https://github.com/appleboy/flutter-docker

Unit testing for flutter in Docker
https://github.com/appleboy/flutter-docker

docker flutter

Last synced: 9 months ago
JSON representation

Unit testing for flutter in Docker

Awesome Lists containing this project

README

          

# flutter-docker

[![Build Status](https://cloud.drone.io/api/badges/appleboy/flutter-docker/status.svg)](https://cloud.drone.io/appleboy/flutter-docker)

Unit testing for flutter in Docker. See the detail section about『[Introduction to unit testing](https://flutter.dev/docs/cookbook/testing/unit)』.

## How to use

download the docker image: `1.0.0` for flutter 1.0.0 stable version.

```
$ docker pull appleboy/flutter-docker:1.0.0
```

Download your flutter app source code.

```
$ git clone https://github.com/appleboy/flutter-demo.git
$ docker run -ti -v ${PWD}/flutter-demo:/flutter-demo -w /flutter-demo \
appleboy/flutter-docker:1.0.0 \
/bin/sh -c "flutter test"
```