* Cantinho Satkeys

Refresh History
  • sacana10: Tenham Um Feliz Ano De 2026
    01 de Janeiro de 2026, 12:35
  • FELISCUNHA: ghyt74   49E09B4F  e bom ano  4tj97u<z
    01 de Janeiro de 2026, 10:28
  • cereal killa:
    31 de Dezembro de 2025, 19:38
  • JPratas:
    31 de Dezembro de 2025, 18:41
  • j.s.: tenham um excelente ano de 2026 43e5r6 49E09B4F
    31 de Dezembro de 2025, 17:18
  • j.s.: dgtgtr a todos  49E09B4F
    31 de Dezembro de 2025, 17:17
  • FELISCUNHA: ghyt74   49E09B4F  e bom ano de 2026  4tj97u<z
    31 de Dezembro de 2025, 11:55
  • JPratas: try65hytr Pessoal  2dgh8i k7y8j0 Continuação de Boas Festas vx4s5
    31 de Dezembro de 2025, 06:23
  • m1957: Um excelente ano de 2025 muito próspero!
    30 de Dezembro de 2025, 23:35
  • FELISCUNHA: dgtgtr  e continuação de boas festas  :smiles_natal:
    26 de Dezembro de 2025, 17:56
  • okapa:
    24 de Dezembro de 2025, 19:01
  • sacana10: A todos um feliz natal
    24 de Dezembro de 2025, 17:57
  • cereal killa: dgtgtr passei por ca para vos desejar feliz natal e familias  :smiles_natal:
    24 de Dezembro de 2025, 15:46
  • bruno mirandela: deso a todos um feliz natal
    24 de Dezembro de 2025, 14:31
  • FELISCUNHA: ghyt74   :34rbzg9:  e bom natal  :13arvoresnatalmagiagifs:
    24 de Dezembro de 2025, 10:15
  • tgh12: mikrotik
    24 de Dezembro de 2025, 07:49
  • tgh12: Spanish for Beginners: Spanish from 0 to Conversational
    24 de Dezembro de 2025, 04:57
  • JPratas: try65hytr Pessoal  4tj97u<z
    24 de Dezembro de 2025, 03:03
  • m1957: Para toda a equipa e membros deste fórum, desejo um Natal feliz e que o novo ano de 2026, seja muito próspero a todos os níveis.
    24 de Dezembro de 2025, 00:47
  • FELISCUNHA: Bom dia pessoal   :34rbzg9:
    22 de Dezembro de 2025, 10:35

Autor Tópico: Practical Test-Driven Development with Xcode and Swift: Write Modularized Code for TDD with XCTest  (Lida 219 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 129146
  • Karma: +0/-0

Practical Test-Driven Development with Xcode and Swift: Write Modularized Code for TDD with XCTest and UIKit
MP4 | Video: AVC 1280x720 | Audio: AAC 44KHz 2ch | Duration: 50M | 820 MB
Genre: eLearning | Language: English

Write better, more robust, and well-architected code. Then put tests on CI with every run, so you have real proof that your app works as expected. Running tests over and over again costs you very little whereas running manual tests costs time again and again. 100% test coverage is not practical. A more effective approach is to write well-modularized code which is easy to test in isolation with unit tests and then do several integration tests testing the entire flow of your app to make sure all modules work together.
Use XCTest, which Apple provides out of the box with XCode, to test all networking and model layers and plan classes. This is your opportunity to test against several different edge cases since it's easy to simulate different conditions. Unit testing your controllers is complicated because controllers rely on the UIKit controller life cycle that's not available in the test environment. Therefore, it's easier to use UI Testing (also provided by Apple with XCode) to write integration tests. Write a few of them covering your happy paths.

Adding your tests on CI and running them automatically on every commit to your mainline branch will help you avoid timely manual tests or a failing app. Your tests will always be up to date and work for you instead of getting in the way.

Download link:
Só visivel para registados e com resposta ao tópico.

Only visible to registered and with a reply to the topic.

Links are Interchangeable - No Password - Single Extraction