Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

Have you ever tested your tests?

Have you ever tested your tests?

Avatar for Rafael Machado

Rafael Machado

November 09, 2019
Tweet

More Decks by Rafael Machado

Other Decks in Programming

Transcript

  1. AGENDA 1. SOFTWARE QUALITY & METRICS 2. CODE COVERAGE 3.

    MUTATION TESTING 4.MUTER: AUTOMATED MUTATION TESTING FOR SWIFT
  2. class Tests: XCTestCase { func test_view() { let sut =

    ViewController(presenter: .dummy) XCTAssertNotNil(sut.view) } }
  3. ?

  4. !// muter.conf.json { "executable": “/usr/bin/xcodebuild", "arguments": [ "-project", "ExampleApp.xcodeproj", "-scheme",

    "ExampleApp", "-sdk", "iphonesimulator", "-destination", "platform=iOS Simulator,name=iPhone 8", "test" ], "exclude": ["AppDelegate.swift"] }