Git Product home page Git Product logo

coldfusion-koans's Introduction

#ColdFusion Koans Project

The ColdFusion Koans are a set of unit tests that the user must make pass by filling in values. To get started open the file AboutAsserts/AboutAsserts.cfc and begin making the tests pass.

Its important that you use the mxunit that is packaged with this project. It will run the unit tests in order! Its also important to ensure your function names are written in headless camel case e.g. listValueCount() !!

As you complete a section you'll confirm your tests by refreshing this page or running the test suite using the mxunit eclipse plugin.

This is a community run project to please feel free to fork this project and contribute any time. See the Suggested topics for ideas if you need one or feel free to add your own

##ColdFusion 10 Topics

When adding topics that are reliant to ColdFusion 10 make sure to add them inside the conditional statement:

 if(application.version >= 10){
  /****************
    If you have a topic that is 100% reliant on ColdFusion 10 or greater add them here
  *****************/
    ...
  } 

in index.cfm.

##Suggestions for committing

Be sure to read https://help.github.com/articles/dealing-with-line-endings about line endings if you aren't sure how they can affect your pull requests!

  • We need beginner lessons too, don't hesitate to add a new test for a cftag or something simple!
  • Try not to duplicate any current lessons.
  • Be creative!
  • Add comments that explain the concept for your test.
  • Make sure you can make your test pass, then delete the correct answer before you submit.
  • If you need to create a new CFC for your test, put it in the components folder.
  • If there is a link to more information on a topic feel free to shorten it and include it

##Suggested topics

  • About UnitTesting - Advanced
    • Mocking
    • Stubbing
    • Inject Properties
    • Make Public
  • AboutOOP
    • Inheritence
    • Encapsulation
    • Scope
  • ColdFusion 10 features (be sure to add the suites inside the conditional if(version > 10) statement in index.html)

##Contributors

Michael Seid @mbseid

Steven Neiland @sneiland

Craig Kaminsky @craigkaminsky http://craigkaminsky.me/

Mike Henke @mikehenke http://www.henke.ws/

Niall O'Doherty @nodoherty http://www.niallodoherty.com/

##Thanks

Robert Glover @snarfblat for helping me troubleshoot issues.

coldfusion-koans's People

Contributors

bittersweetryan avatar imageaid avatar jtreher avatar mbseid avatar mhenke avatar nodoherty avatar sneiland avatar

Stargazers

 avatar

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.