Files
RediStack/Tests/LinuxMain.swift
Nathan Harris ce43dad72e Split tests into two targets: Unit tests and Integration tests
Motivation:

For users looking to contribute, and for those looking to validate the library, it was unclear what tests require an actual connection to a Redis instance in order to run.

Modifications:

Add a `RediStackIntegrationTests` that takes all tests that require a Redis instance in order to run.

Result:

Those looking to run just unit tests, or contribute new tests, can now directly point to a specific testTarget as defined in the Package manifest.
2019-07-28 00:09:19 -07:00

11 lines
204 B
Swift

import XCTest
import RediStackIntegrationTests
import RediStackTests
var tests = [XCTestCaseEntry]()
tests += RediStackIntegrationTests.__allTests()
tests += RediStackTests.__allTests()
XCTMain(tests)