SHARE
TWEET

Untitled

a guest Mar 25th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Quick
  2. import Nimble
  3. @testable import UnitTestPractical
  4.  
  5. class SampleRepositoryTest: QuickSpec {
  6.     override func spec() {
  7.         var repository: SampleRepository!
  8.        
  9.         beforeEach {
  10.             repository = SampleRepository()
  11.         }
  12.        
  13.         describe("SampleRepositoryTest") {
  14.             it("Repository 비지니스 로직 검증") {
  15.                 let result = repository.search("a")
  16.                 expect(result).to(equal(repository.expect))
  17.             }
  18.         }
  19.     }
  20. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top