Skip to content

max911z/codeWarsTesting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

CodeWarsTesting

A simple application for getting to know XCTest

Task:

It is necessary to solve the problem(https://www.codewars.com/kata/57ea70aa5500adfe8a000110/swift) and cover it with unit, integration, e2e tests

Unit tests are located in the file "CodeWarsTestingTests/CodeWarsUnitTests":

  • testWhenInputIsEmptyArray
  • testWhenInputIsNegativeAndPositiveNumbers
  • testWhenInputIsTimesEqualZero
  • testWhenInputArrayModified

Integration tests are located in the file "CodeWarsTestingTests/CoreDataIntegrationTests":

CoreDataTestStack is a class for secure testing of CoreData. Allows you to separate real data in the database and data for testing.

  • testWhenCreateEntityResult
  • testWhenUpdateEntityResult
  • testtestWhenDeleteLastEntityResult

E2e tests are located in the file "CodeWarsTestingUITests/CodeWarsTestingUITests":

  • testButtonGo

About

📱 A simple application for getting to know XCTest

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages