[Accepted] A New Direction for Testing in Swift

I share this sentiment (and not only IRT to testing).

FWIW in C the use sites of macros are not polluted with those @ or #, only the declaration sites. The above would look, say:

Test
void squareAcceptsZero() {
  expect(square(0) == 0);
}

with Test and expect macros appropriately coloured in the IDE.

1 Like