enzoftware / mobile-test

Test for native mobile app development in iOS or Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Superformula Mobile Developer Coding Test

Dependencies

  • bloc
  • dio
  • flutter_bloc
  • freezed
  • get_it
  • intl
  • json_serializable
  • qr_code_scanner
  • qr_flutter
  • bloc_test _ build_runner _ mocktail

Run the project

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

Anyway, there is are launch settings for VSCode & Android Studio so you can easily launch the project with any flavor. 😄

Demo

Show QR code Scan QR code

Running Tests 🧪

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

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

If you want to run the tests inside the packages folder you can go inside the the specific package and run the same command. 👍

Testing

About

Test for native mobile app development in iOS or Android

License:MIT License


Languages

Language:Dart 90.3%Language:HTML 5.9%Language:Ruby 2.1%Language:Makefile 0.9%Language:Swift 0.6%Language:Kotlin 0.2%Language:Objective-C 0.1%