Since the tests should be versioned along with the code they run against, (2) makes more sense imo. Keeping them together in the same hierarchy reduces the possibility of staleness issues and raises any conflicts earlier in the development cycle.
Note: The OP has clarified that the tests
directory should indeed be under trunk
.