Assuming you have node >=0.6.0 and npm installed:
npm install cup -g
This command produces a folder containing:
Sample cupfile with comments:
The browser application includes middleware that acts as a directory server for all paths that are not routes in the main application. For example:
http://<host>[:<port>]/lib will serve a directory listing for the lib folder.
Visual specs help to facilitate the visual verification of behaviour which is infeasible to write automated tests for. For examples:
To create a visual spec, add a jade template in the
spec/visual directory. Any directory structure within
spec/visual may be used to organise visual specs as you see fit. An index of available visual specs is available in the browser app.
Each slim template under
Note: No style sheets are automatically loaded for visual specs.
spec/visual directory unless explicitly referenced in the
cupfile with the following constraint...
Build output is referenced instead of lib and src on the relevant pages (such as when running spec on uglified build output). Only lib and src are considered build input.