Giter VIP home page Giter VIP logo

Comments (5)

vlidholt avatar vlidholt commented on June 3, 2024

The structure for the old tests are really hard to maintain, with the hundreds of targets and all. The plan is to move any relevant tests to the new UI-tests, then rename the UI-tests to just tests.

from cocos2d-objc.

Ben-G avatar Ben-G commented on June 3, 2024

I think it would be great maintaining the tests. They are great when testing potential changes.

from cocos2d-objc.

andykorth avatar andykorth commented on June 3, 2024

Sounds good. The mess of targets is a huuuuuuuuuge pain, so anything we can do to move away from that is a plus.

I'll move the relevant tests into the ui-tests project.

Is there any reason the ui-tests aren't in the workspace? Perhaps adding ui-tests to the workspace and removing the non-compiling old test project would be nice. At least that will massively clean up the target list in the workspace.

from cocos2d-objc.

andykorth avatar andykorth commented on June 3, 2024

Spoke with Viktor last night: A few highlights: If possible/applicable, some of these tests could be run automatically, screencapped, and compared to "known-good" screenshots. So if a test can be written without animation, I'll try for that.

As mentioned above, the old "cocos2d-tests-ios" project will be removed, and the "cocos2d-ui-tests" will be renamed to just tests, and be added to the workspace. The target list for the workspace will be much cleaner, and hopefully the tests will be compiled more regularly (and perhaps even run!).

When possible, I'll favor unit tests over these tests, which need to be individually inspected.

from cocos2d-objc.

andykorth avatar andykorth commented on June 3, 2024

See #417 for the big organizational commit - removing old tests, renaming new tests.

from cocos2d-objc.

Related Issues (20)

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.