Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement