| 1 | 1. License |
|---|
| 2 | |
|---|
| 3 | (c) 2009 RocketBoots Pty Ltd |
|---|
| 4 | This program is free software: you can redistribute it and/or modify |
|---|
| 5 | it under the terms of the GNU General Public License as published by |
|---|
| 6 | the Free Software Foundation, either version 3 of the License, or |
|---|
| 7 | (at your option) any later version. |
|---|
| 8 | |
|---|
| 9 | This program is distributed in the hope that it will be useful, |
|---|
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | GNU General Public License for more details. |
|---|
| 13 | |
|---|
| 14 | You should have received a copy of the GNU General Public License |
|---|
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | 2. Original Talk Description |
|---|
| 19 | |
|---|
| 20 | Unit testing is like version control - once you start you can't believe |
|---|
| 21 | you ever got your job done without it. But it seems that too many people |
|---|
| 22 | find getting started with unit testing ColdFusion code difficult. |
|---|
| 23 | |
|---|
| 24 | In this presentation Robin Hilliard, creator of the RocketUnit unit testing |
|---|
| 25 | framework, will introduce basic unit testing concepts and workflows, and |
|---|
| 26 | (as impartially as possible) compare RocketUnit with an established |
|---|
| 27 | unit testing framework for ColdFusion, MXUnit. If you are interested in |
|---|
| 28 | starting unit testing, or you already unit test but want to look at some |
|---|
| 29 | alternative approaches, then this talk is a must. |
|---|
| 30 | |
|---|
| 31 | http://www.cfobjective.com.au/index.cfm?objectID=6DDADCA0-1AA0-353A-5AD4290824DF5521 |
|---|
| 32 | |
|---|
| 33 | 3. Installation Instructions |
|---|
| 34 | |
|---|
| 35 | a. Copy testing/ to your webroot. |
|---|
| 36 | b. Set up a ColdFusion mapping so that '/' points to /currentstage (I use a dedicated CF |
|---|
| 37 | instance for presentations so this isn't a bother) |
|---|
| 38 | c. Create a datasource with full DDL and read write permissions called 'presso' |
|---|
| 39 | d. Review the copyToCurrentStage() function in slides/Application.cfm and modify it to suit |
|---|
| 40 | your operating system. The current script works on OS X: it deletes the currentstage |
|---|
| 41 | contents and then recursively copies all the code in the current stage to the |
|---|
| 42 | currentstage directory and sets permissions so that the logged in user can edit the files. |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | 4. How to Use the Presentation |
|---|
| 46 | |
|---|
| 47 | This entire presentation is a ColdFusion application. To view or present the presentation, |
|---|
| 48 | configure your Eclipse environment so that the built in browser view is at the top of the screen |
|---|
| 49 | over your editor windows and browse slides/slide01.cfm to start. As you advance the slides or |
|---|
| 50 | click on links within the slides the corresponding code will be copied into the 'currentstage' |
|---|
| 51 | directory for you to open in your editor windows. |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | |
|---|
| 55 | |
|---|
| 56 | |
|---|