People working together

adesso Turkey Blog



  • Mobile

Show all posts

Swift 5.5's concurrency framework has the potential to make your code organized and comprehensible, with benefits such as improved readability, clear control flow, in-scope error handling, and avoidance of callback. This article discusses the principles of structured concurrency while drawing parallels with structured programming and explains how these principles bring clarity and organization to asynchronous code.

Read more

16.01.2023 By Yağız Erbay

Unit Testing in Swift

Picture Yağız Erbay

In computer programming, a “unit test” is a software testing method that initializes a small chunk of our project and verifies its behavior independently from other parts. Most common unit tests contain three phases. First, it initializes a small piece of code it wants to test; then, it activates the system under test; and finally, it observes the resulting behavior. If the observed behavior is consistent with the expectations, the unit test passes; otherwise, it fails, indicating that there is a problem somewhere in the system under test. These three unit test phases are also known as Arrange, Act, and Assert, or simply AAA.

Read more

Save this page. Remove this page.