Giter VIP home page Giter VIP logo

Comments (3)

jamiebullock avatar jamiebullock commented on August 19, 2024

Note that I can successfully run the test included in the GoogleMock.xcodeproj, the problem only occurs when I add GoogleMock to my own project. I therefore suspect this may be an issue with compiler settings. Currently I am just using the Xcode defaults.

from gmock-xcode.

macmade avatar macmade commented on August 19, 2024

Sorry you ran into issues.

What kind of target are you testing?
Not sure I understand your 4th point:

Copy Test.cpp to the new project and add it to the testing target

Can you share your example project?

from gmock-xcode.

jamiebullock avatar jamiebullock commented on August 19, 2024

Thanks for the quick answer. It seems it was my error here as I didn't add the test bundle to Test action in the scheme for my my target. So either the tests didn't have an associated target or they had the test bundle itself as a target.

It might be worth adding to the README that the test bundle needs to be added in the scheme manager as shown below, for those who are not so familiar with setting up tests.

screen shot 2018-09-06 at 09 49 02

from gmock-xcode.

Related Issues (8)

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.