Google C++ Testing Framework Dr. Frank Xu Gannon University.

Slides:



Advertisements
Similar presentations
Introduction to C++ An object-oriented language Unit - 01.
Advertisements

EndNote Saving titles in EndNote Next = click. To save titles from the Digital Library in EndNote …
CS 450 MPX P ROJECT Introduction to Turbo C. W HY USE T URBO C? Many ANSI C compilers are available for free, however they lack certain features that.
1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
Demonstration of the use of browser extensions in Mozilla to link from a Google Scholar item to a European Library object.
RSA library 資訊101乙 F 郭至軒.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
How to install the Zelle graphics package
Installing Hugs on Windows March 31, Installing Hugs Go to Click on the Hugs link under implementations.
15-Jul-15 Starting Eclipse Just the basics. Getting Eclipse If you Google for “Eclipse”: The first hit is the home page, The second.
How to install CGAL Yuanzhen Wang. What is CGAL Computational Geometry Algorithms Library “Provide easy access to efficient and reliable geometric algorithms.
The break and continue statements. Introduction There are 2 special statements that can affect the execution of loop statements (such as a while-statement)
Tutorial on Visual Studio express Introduction Visual Studio Express Editions are a new line of Microsoft development Tools. This line of products.
September 2008 IT Software Development Guide.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
BRITE integration with ns-3 Joshua Pelkey and Dr. George Riley Wns3 March 25, 2011.
1 INF160 IS Development Environments AUBG, COS dept Lecture 06 Title: Dev Env: Code::Blocks (Extract from Syllabus) Reference:
Computer Programming and Basic Software Engineering 9 Building Graphical User Interface Working with Unmanaged Code.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
Build CORBA Applications with C++, MICO and Win32 Luiz Carlos d´Oleron
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
CS 450: COMPUTER GRAPHICS INSTALLING GLUT AND GLEW SPRING 2015 DR. MICHAEL J. REALE.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Mohammadreza Asghari Oskoei University of Allameh 2012 Introduction to Visual Studio 2010.
Programming with Visual C++ A short review of the process.
CSE 232: C++ Programming in Visual Studio Graphical Development Environments for C++ Eclipse –Widely available open-source debugging environment Available.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
Programming with Visual Studio.NET A short review of the process.
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
Art 321 VIDEO Dr. J. Parker AB 606. Recording and Editing Video All you frustrated Spielbergs out there now get your special lecture. First, let’s loot.
LAB#1 CSC st semster H King Saud University College of Applied studies and Community Service Csc 1101.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
1 How to Install OpenGL u Software running under Microsoft Windows makes extensive use of "dynamic link libraries." A dynamic link library (DLL) is a set.
Lab00-Getting Started with VC Launch VS 2005 Launch Visual Studio 2005 – Start > All Programs > Microsoft Visual Studio 2005 > Microsoft Visual.
Installing Microsoft C++ Microsoft Visual Studio 6.0.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Win32 Programming Lesson 19: Introduction to DLLs.
RDF Generation and Linking using Open Refine Daniel Vila-Suero
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
HOW TO DOWNLOAD ARES. 1. Paso  Go to google chrome and search bar google softonic. 2. Paso  Enter softonic and the main bar searches ARES. 3. Paso 
Problem Solving With C++ February Mac Users: Install xQuartz: 1.) Open the link 2.) Download xQuartz dmg.
Prepared by : Nouf Almunyif INSTALLING VISUAL STUDIO 2010 GC201 VISUAL PROGRAMMING.
C Programming Lecture 3 : C Introduction 1 Lecture notes : courtesy of Woo Kyun and Chang Byung-Mo.
Downloading a Visual C compilers (try it yourself at home) Visual Studio 2012 can be found at:
Tutorial for Modelsim 1 Installation Download the Modelsim Student Edition: Follow the.
1 Web Search/Thinkin g What are clues that an ad you’re seeing is a helpful ad or a bad ad? 2 Web Search/Thinkin g When you conduct a search,
Visual Linker ADD presentation. slide 2  Project Overview And Vision  Project System View  The System Life Cycle  Data Model and.
Tutorial 1 Writing Your First C++ Program CSC1110C Introduction to Computer Programming By Paul Pun Acknowledgement: Special thanks to Dr. Michael Fung.
Greatest Common Divisor
Greatest Common Divisor
Getting Visual Studio Go to
Creating your first C++ program using Visual Studio 2010
Chapter 2 Setup.
CMPE 152: Compiler Design ANTLR 4 and C++
Quick Start Guide for Visual Studio 2010
Setting up Eclipse Locally
Visual Studio 2005 Options for Release Mode: C++, Fortran, Linker
1. Open Visual Studio 2008.
Go to the Audacity website. (You can search for Audacity in Google).
POS 408 Week 1 Individual Assignment Individual: Console Display Message//tutorfortune.com Click on below link to buy
Install MySQL Community Server and MySQL Workbench
Web programming and advanced development techniques
The visual studio window
Education - Participant
Java Coding Environment Installation & Execution guide
Understanding DLLs and headers, and libs… Jeff Chastine.
Presentation transcript:

Google C++ Testing Framework Dr. Frank Xu Gannon University

Overview Download Installation Compilation Test a demo

Download

Installation

Assume we are using MSVS Click msvs

Compilation

After compilation, you will see gtestd.lib

Demo Win32 Console Application

Important GTEST_ROOT C:\Users\Frank\Desktop\svnrepository\MyDoc\public_html\teaching \shared\software\gtest Make sure you have GTEST_ROOT/include in the header search path so that the compiler can find when compiling your test. ◦ C:\Users\Frank\Desktop\svnrepository\MyDoc\public_htm l\teaching\shared\software\gtest-1.5.0\include Set up your test project to link with the Google Test library (for example, in Visual Studio, this is done by adding a dependency on gtest.vcproj). ◦ C:\Users\Frank\Desktop\svnrepository\MyDoc\public_htm l\teaching\shared\software\gtest \msvc\gtest\Debug\gtestd.lib

Testing Greatest common divisor (gcd)

Generated Executable file

Execute Tests

Conclusion [TestCaseName , TestName] Confusing: ◦ [TestSuiteName , TestPurpose] ◦ {  test case 1  Test case 2 ◦ }