main

mattermost/focalboard

Last updated at: 29/12/2023 09:39

FocalboardTests.swift

TLDR

This file contains the test cases for the Focalboard project.

Methods

setUpWithError()

This method is called before the invocation of each test method in the class. It can be used to set up any necessary resources or configurations for the tests.

tearDownWithError()

This method is called after the invocation of each test method in the class. It can be used to clean up any resources or configurations that were set up in the setUpWithError() method.

testExample()

This method is an example of a functional test case. It can be used to verify that the tested functionality produces the correct results. The XCTAssert and related functions can be used inside this method.

testPerformanceExample()

This method is an example of a performance test case. It can be used to measure the execution time of a piece of code. The code to be measured can be placed inside the self.measure {} block.

END

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

import XCTest
@testable import Focalboard

class FocalboardTests: XCTestCase {

    override func setUpWithError() throws {
        // Put setup code here. This method is called before the invocation of each test method in the class.
    }

    override func tearDownWithError() throws {
        // Put teardown code here. This method is called after the invocation of each test method in the class.
    }

    func testExample() throws {
        // This is an example of a functional test case.
        // Use XCTAssert and related functions to verify your tests produce the correct results.
    }

    func testPerformanceExample() throws {
        // This is an example of a performance test case.
        self.measure {
            // Put the code you want to measure the time of here.
        }
    }

}