Giter Site home page Giter Site logo

testcase's Introduction

Date: 10/6/2018
Last Edit: 11/6/2018

TestCase

Assignment 9 in a C++ course

Authors:

Dvir Barzilay
Kineret Ruth Nahary
Shmuel Shimoni

Introduction

About the assignment:

This assignment is for practicing creating otomatic testers for a project.
We need to create a class that represents the testers - TestCase class.
In this class there need to be 4 functions that checks equal, difference, output and function.
Those checking functions need to be of type template.
The class need to have a print function that will print the number of passed, failed and total cases.

File list:

.: 
.gitignore 
TestCase.cpp  
TestCase.hpp    
README.md  
main.cpp  

Further look into the classes:

  1. main.cpp - This class has some examples to run and check the code with it.
  2. TestCase.hpp - This class represents a testing class. Its fields are :
    total, passed, failed - The number of failed, passed and total cases checked by the class.
    _name - The name of the test type.
    c - An ostream object to be used.
  3. TestCase.cpp - The implementation of TestCase.hpp.

Compile Command:

g++ -std=c++11 *.cpp

testcase's People

Contributors

kineruth avatar dvir570 avatar

Watchers

James Cloos avatar

Forkers

kineruth

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.