GithubHelp home page GithubHelp logo

gernotfeichter / dachstein-pistes Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 34.85 MB

License: GNU General Public License v2.0

HTML 94.36% Kotlin 0.02% Dart 3.87% Swift 0.06% Objective-C 0.01% CMake 1.02% C++ 0.57% C 0.10%

dachstein-pistes's Introduction

dachstein_pistes

Get notifications when piste state changes and view the current state of all pistes.

End User Information

Currently only an android version exists that is published on Google Play store.

Supporting other platforms is currently not planned.

Development Information

metadata

Project was created with command flutter create --org com.gernotfeichter dachstein_pistes and flutter version 2.8.1.

build & installation without debug flag

flutter build apk adb install ./build/app/outputs/apk/release/app-release.apk

test execution

unit tests

flutter test Remark: Executes all files in test folder ending in test.dart!

widget tests

The widget tests can only be successfully run, with the flutter run instead of the flutter test command for some reason, here is the snippet that works: flutter run -t test/widget/test_widget.dart -v -d "Pixel 5"

Then check for output string All tests passed!.

Caveat: This command seems to run forever.

I believe that flutter test does not work due to some platform specific functionality that I use in some of my widget code that is only available in a real android application, the standard widget test environment seems to be not able to provide those.

Better use the integration tests below.

integration tests

flutter test integration_test/test.dart -d "Pixel 5" --timeout 120s

releasing

  1. run integration tests
  2. increase version number in pubspec.yaml
  3. flutter build appbundle
  4. upload app bundle to Google Play Console for Internal Testing
  5. commit state: g commit -a -m "chore(release): <version number>"
  6. After successful internal test, promote to production

License

This program is published under the GNU GENERAL PUBLIC LICENSE Version 2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.