GithubHelp home page GithubHelp logo

sparkouttech / ios_unit_testing_sample Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 17.23 MB

Using this ios_unit_testing example you can easily learn a basic Unit test in Swift to test a Login Model using XC Test Framework.

Swift 98.15% Ruby 1.85%
xcode unittest darkmode xctestcase mvvm

ios_unit_testing_sample's Introduction

Unit Testing in Xcode

To get started, we are going to create a blank iOS project. You will want to have the include unit tests checkbox checked.

If already have project, and want to add unit test
  1. Go to File > New > Target.
  2. Select Unit Testing Bundle.
  3. Click Next.

Running Unit Test in XCode

Now that you have the unit test target in your project, you can run the tests from the menu bar with Product > Test or just use the keyboard shortcut:โŒ˜U

When the tests finish, you should see green checkmarks in the Test Navigator in the left pane (โŒ˜6) indicating that the tests passed.

ios_unit_testing_sample's People

Contributors

keerthi-sparkout avatar vishnu4006 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.