Skip to content

Latest commit

 

History

History
76 lines (46 loc) · 2.01 KB

README.md

File metadata and controls

76 lines (46 loc) · 2.01 KB

Solved the "Spectora Mobile Flutter Technical Interview" assessment

This solved branch contains results of solving original challenges located at the original branch.

If you are interested in the original assessment source code and its requirements, switch to the original branch.

git checkout original

Then follow instructions to complete each challenge. Find README.md in each challenge dir:

  • lib/challenge1/README.md

  • lib/challenge2/README.md

  • lib/challenge3/README.md

Run challenge1

To run the solution of the challenge1 execute next command

flutter run lib/challenge1/main.dart

Run challenge2

Assuming that "challenge2" is about writing tests to the "challenge1" sources, its solution is located at "test/challenge1".

To run the solution of the challenge2 execute next command

flutter test test/challenge1

Run challenge3

To run the solution of the challenge3 execute next command

flutter run lib/challenge3/main.dart

Test

To run all tests execute next command

flutter test

Run on MAC (as a native app)

You can run and debug the project on your Mac as a native app without need of Simulator or Emulator.

flutter run lib/challenge1/main.dart -d macos

flutter run lib/challenge3/main.dart -d macos

Run in Chrome (as a web app)

You can run and debug the project in the Chrome browser.

flutter run lib/challenge1/main.dart -d chrome

flutter run lib/challenge3/main.dart -d chrome

Run on Linux (as a native app)

You can run and debug the project on your Linux machine as a native app without need of Simulator or Emulator.

flutter run lib/challenge1/main.dart -d linux

flutter run lib/challenge3/main.dart -d linux

Run in release mode

You always can see how the code works in release(production) mode that executes faster and much performant (but takes bit more seconds to be compiled), just add the "--release" argument like that.

flutter run --release

flutter run lib/challenge3/main.dart --release

© Max Shemetov, 2023