Biggest benefit of MVP is testing, especially for mobile development.


- Unit tests are easy to make. Doesn’t need emulator to make sense (i.e. calculating square root doesn’t need android to run)
- Pyramid is ordered hardest to easiest. The top is the hardest; the bottom is the easiest. However, it’s suggested about 70% of tests are unit tests, 20% are integration tests, and 10% are UI test
Mock objects are fake objects that represent real objects we want to interact with
- i.e. if u want to test a feature to do with buying something without really buying something.
- Also used for debugging. If you have a test and it has