A tool to choose what to eat if you don't know again what to eat/cook today.
- Install Flutter by following the official documentation
Install chocolatey: https://chocolatey.org/install
choco install strawberryperl
choco install lcov
To just run tests:
cd ./foodstuff
flutter test
To only run a particular test:
cd ./foodstuff
flutter test ./test/some_test.dart
To run tests and retrieve code coverage:
cd ./foodstuff
flutter test .\test\food_database_test.dart --coverage
# convert the data to html (command for Windows)
perl C:\ProgramData\chocolatey\lib\lcov\tools\bin\genhtml coverage/lcov.info -o coverage/html
In case of a dirty environment run:
flutter clean
flutter pub cache repair
flutter pub run build_runner clean
Currently a customized Flutter runtime is required to use Realm.io. Therefor it is not being used in a productive environment yet.
Note: There have been some plans to maybe use Realm.io as an object oriented database. Right now only a plain text file is used for persistence