Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Quick
- import Nimble
- @testable import UnitTestPractical
- class SampleRepositoryTest: QuickSpec {
- override func spec() {
- var repository: SampleRepository!
- beforeEach {
- repository = SampleRepository()
- }
- describe("SampleRepositoryTest") {
- it("Repository 비지니스 로직 검증") {
- let result = repository.search("a")
- expect(result).to(equal(repository.expect))
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement