Giter Club home page Giter Club logo

quiztrainexample's Introduction

Example

This is an example iOS project showing how you can integrate QuizTrain with your unit tests and user interface tests.

License

The Example project is open source software released under the MIT License. See the LICENSE file for details.

Prerequisites

Setup

Before building and running tests there are some placeholder values you must update in code marked with Swift #error macros. After updating them comment out the macros.

  • TestManager.swift
    • Update let objectAPI = QuizTrain.ObjectAPI(...) with valid credentials and other info for your TestRail instance.
    • Update QuizTrainProject.populatedProject(...) with a projectId from your TestRail instance.
  • ExampleTests.swift
    • Update all of the placeholder case IDs with real case IDs for your project.
  • ExampleUITests.swift
    • Update all of the placeholder case IDs with real case IDs for your project.

If you'd like you can create a temporary project on your TestRail instance and use that to test with. Select Use multiple test suites to manage cases when creating the project and then add 16 test cases.

Building and Testing

cd ../Example
carthage checkout --use-submodules
open Example.xcodeproj

Select the Example scheme and type Command-U to build Example and run unit tests and user interface tests. If everything goes well you should see a URL in the console to a closed test plan (one for unit tests, another for user interface tests) containing your results on TestRail. You should also see them appear as QuizTrain Test Results under Test Runs & Results in your project.

quiztrainexample's People

Contributors

dgallagher-venmo 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.