Clarification on intended usage #17
-
|
Hey! My name's Adam, I'm from Jerusalem. I'm in the midst of upgrading a large XF project to MAUI. We have a UI test suite but because the UI tests take so long to run, we've been wanting to get a business logic view model unit test suite built to supplement the UI tests. These would just require instantiating viewmodels and running logic tests, rather than booting up the whole app and needing a device or emulator etc. The recommended approach towards getting business logic tests running in XF (see the XF example here) required developing an extra test runner app, per platform, which is an extra layer of complication I could do without. So this project looks really cool. I just wanted to check - would the idea be that this would be integrated inside the app itself, or to create a separate app just for running tests as per the old way. From what I can see from your code, the tests can run from within the app itself. Which is very cool if I've understood correctly. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi Adam! Good to hear that you are upgrading, hope it is going well so far. With regards to testing, there are a few options and we use all of them at once in the maui repo. I started writing a replay but it got so long so I decided to make it a wiki for all time: https://github.com/mattleibow/DeviceRunners/wiki/Types-of-Tests |
Beta Was this translation helpful? Give feedback.
Hi Adam! Good to hear that you are upgrading, hope it is going well so far.
With regards to testing, there are a few options and we use all of them at once in the maui repo. I started writing a replay but it got so long so I decided to make it a wiki for all time: https://github.com/mattleibow/DeviceRunners/wiki/Types-of-Tests