Skip to content

Commit

Permalink
Merge pull request #77 from Matejkob/refactor-unit-tests
Browse files Browse the repository at this point in the history
Refactor most of the unit tests
  • Loading branch information
Matejkob committed Dec 31, 2023
2 parents 4d5408d + 2b5cac1 commit 43b9cfe
Show file tree
Hide file tree
Showing 8 changed files with 302 additions and 480 deletions.
3 changes: 3 additions & 0 deletions Tests/SpyableMacroTests/Factories/UT_CalledFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import XCTest
@testable import SpyableMacro

final class UT_CalledFactory: XCTestCase {

// MARK: - Variable Declaration

func testVariableDeclaration() throws {
let variablePrefix = "functionName"

Expand Down
5 changes: 5 additions & 0 deletions Tests/SpyableMacroTests/Factories/UT_CallsCountFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import XCTest
@testable import SpyableMacro

final class UT_CallsCountFactory: XCTestCase {

// MARK: - Variable Declaration

func testVariableDeclaration() throws {
let variablePrefix = "functionName"

Expand All @@ -17,6 +20,8 @@ final class UT_CallsCountFactory: XCTestCase {
)
}

// MARK: - Variable Expression

func testIncrementVariableExpression() {
let variablePrefix = "function_name"

Expand Down
Loading

0 comments on commit 43b9cfe

Please sign in to comment.