Code Monkey home page Code Monkey logo

templates's People

Contributors

ajibarra avatar ceeram avatar gabrielpreston avatar jsposato avatar lorenzo avatar predominant avatar real34 avatar shama avatar skie avatar steinkel avatar yeliparra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

templates's Issues

Ignore AppTestCase

When running Simpletest and extending using AppTestCase.php, i would recommend to ignore the class AppTestCase so it wont count.

All that is needed is to add this code before the 'class' definition :

/**
 * Ignore base class.
 */
    SimpleTest::ignore('AppTestCase');

Extending templates

We have developed a few templates of our own and we'd like to find a way to use ours and this plugin. Is there a way to extend a plugin that does this type of functionality?

I tried Composer, but since we have similar folder structures, our stuff always wipes out yours. Any ideas or examples would be awesome!

Make all tests extend AppTestCase by default

In the current version, all baked tests are generated without extending AppTestCase.
To bake test cases extending AppTestCase one have to run a command using the "-appTestCase" option

This ticket is created to discuss a change and make "-appTestCase" the default behavior. The user would have an option "-noAppTestCase" available if he wants tests to be baked with test cases extending CakeTestCase...

Incorrect AppMock calls in test case not using AppTestCase

Test cases generated without the AppTestCase option cannot be run.

To reproduce:

  • Bake a test without the -appTestCase option
  • Execute the related test case

What happens?

An error 'Fatal error: Class 'AppMock' not found' is displayed

Expected:

  • The test case must run (maybe some tests could be red by default)
  • There must not be any reference to AppTestCase specific code. It includes: AppModel, $_testsToRun and fixtures autoloading

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.