Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 2.11 KB

README.md

File metadata and controls

75 lines (52 loc) · 2.11 KB

Very Good Weather

Very Good Ventures

coverage style: very good analysis License: MIT

Look up the weather for any location using data from the MetaWeather API.


Powered By 🧰


Getting Started 🚀

This project contains 3 flavors:

  • development
  • staging
  • production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

# Development
$ flutter run --flavor development --target lib/main_development.dart

# Staging
$ flutter run --flavor staging --target lib/main_staging.dart

# Production
$ flutter run --flavor production --target lib/main_production.dart

*Very Good Weather works on iOS and Android.


Running Tests 🧪

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html