Closed mkowalski87 closed 9 months ago
Macro is not adding async keyword for generated test methods. So using async methods inside tests is not possible
async
@Parametrize(input: [1]) func testMethod(input n: Int) async throws { XCTAssertTrue(n>0) }
currently generates following method
func testMethod_N_1() throws { let n: Int = 1 XCTAssertTrue(n > 0) }
but it should generate
func testMethod_N_1() async throws { let n: Int = 1 XCTAssertTrue(n > 0) }
Macro is not adding
async
keyword for generated test methods. So using async methods inside tests is not possiblecurrently generates following method
but it should generate