* Cantinho Satkeys

Refresh History
  • cereal killa: boas gomes, 4tj97u<z
    14 de Julho de 2025, 21:32
  • j.s.: cereal enviei pm  4tj97u<z
    14 de Julho de 2025, 21:13
  • j.s.: Entre as 20h do dia 13 de agosto de 2025 e as 10h do dia 14 de agosto de 2025 (horário CEST).
    14 de Julho de 2025, 20:55
  • j.s.: foi refeita nova data para migração
    14 de Julho de 2025, 20:55
  • j.s.: 43e5r6
    14 de Julho de 2025, 16:49
  • j.s.: por isso o forum deve estar off line  Início: 16/07/2025 às 20:00 (CEST) Fim: 17/07/2025 às 10:00 (CEST)
    14 de Julho de 2025, 16:49
  • j.s.: vai ser efectuada migração de servidores
    14 de Julho de 2025, 16:48
  • j.s.: dgtgtr a todosc 49E09B4F
    14 de Julho de 2025, 16:47
  • cunha45: ja
    14 de Julho de 2025, 08:25
  • j.s.: passem por aqui p.f. [link]
    13 de Julho de 2025, 16:29
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  4tj97u<z
    13 de Julho de 2025, 11:31
  • j.s.: tenham um excelente domingo 49E09B4F
    13 de Julho de 2025, 09:07
  • j.s.: ghyt74 a todos  49E09B4F
    13 de Julho de 2025, 09:07
  • JPratas: try65hytr Pessoal  4tj97u<z classic k7y8j0
    11 de Julho de 2025, 03:54
  • FELISCUNHA: ghyt74  pessoal   49E09B4F
    10 de Julho de 2025, 10:40
  • j.s.: dgtgtr a todos  4tj97u<z
    07 de Julho de 2025, 13:50
  • FELISCUNHA: Votos de um santo domingo para todo o auditório  4tj97u<z
    06 de Julho de 2025, 11:43
  • j.s.: [link]
    05 de Julho de 2025, 16:31
  • j.s.: dgtgtr a todos  4tj97u<z
    05 de Julho de 2025, 16:31
  • j.s.: h7t45 ao convidado de Honra batatinha pela sua ajuda
    05 de Julho de 2025, 16:30

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

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

Offline mitsumi

  • Sub-Administrador
  • ****
  • Mensagens: 121842
  • 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