/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.swiftbysundell.com
| | benoitpasquier.com

To be sure new code won't break old one already implemented, it's best practice to write unit tests. When it comes to app architectures, it can be a challenge to write those tests. Following an MVVM pattern, how to unit test a view and its viewModel? That's what I would like to cover here using dependency injection.
4.2 parsecs

Travel
| |
| | mikemikina.com

Vapor 3 has a very interesting dependency injection framework which will help you manage dependencies and mock them inside your tests.
5.7 parsecs

Travel
| |
| | www.avanderlee.com

Unit testing async/await logic can be done by marking your unit test as asynchronous and using a new XCTest method.
5.6 parsecs

Travel
| |
| | nodogmablog.bryanhogan.net

It is easy to debug an AWS Lambda function locally with Visual Studio Code, all you need to do is install one tool and make one change to the launch.json file. Read on to see how.
23.3 parsecs

Travel
|