teamcfadvance / cfstatic

CfStatic is a framework for managing the inclusion and packaging of CSS and JavaScript in CFML applications.
https://teamcfadvance.github.io/cfstatic
MIT License
102 stars 35 forks source link

Running tests index.cfm file #115

Open EricBader opened 9 years ago

EricBader commented 9 years ago

On my testing server I have copied the cfstatic information into my working directory:

When running cfstatic/tests/index.cfm for the first time I get these errors/fails: t19_renderIncludes_shouldRenderJsVariablesBeforeJsIncludes_whenIncludeDataUsed Failed t20_renderIncludes_shouldUseConfiguredCharset Failed t27_cfstatic_shouldThrowError_whenOutputFolderDoesNotExistAndCannotBeCreated Failed t28_renderIncludes_shouldRenderConfiguredJsVar_forRenderingData Failed t37_cfstatic_shouldNotDeleteAllFiles_whenInCheckForUpdatesMode Failed t39_cfstatic_shouldRebuildSourceFiles_whenChangesToDependencyFilesAreDetected Error

Is this normal or is there something I am missing?

deanlaw commented 9 years ago

Can you share your code so that we can see how you are calling cfstatic?

EricBader commented 9 years ago

Dean: Thank you for responding! It is the files in the test directory, unchanged. Index.cfm and application.cfc, which then call other files. Do you want to see this code or do you have it?

deanlaw commented 9 years ago

Eric, I just downloaded the latest release (0.7.2) and ran the test suite. I too am seeing some failures, but not all the ones that you are seeing. The ones that I see are:

t27_cfstatic_shouldThrowError_whenOutputFolderDoesNotExistAndCannotBeCreated Failed t37_cfstatic_shouldNotDeleteAllFiles_whenInCheckForUpdatesMode Failed t39_cfstatic_shouldRebuildSourceFiles_whenChangesToDependencyFilesAreDetected Error

I'm not sure how up to date the tests are, so I will have to look into it. I am running 0.7.2 on a number of sites without issue, so I don't think that you will have a problem, but we'll work on getting all the tests passing.

EricBader commented 9 years ago

Dean:

Thank you for your help. Yes, I just checked that i have the 0.7.2 version.

Eric

On 5/14/2015 3:08 PM, Dean Lawrence wrote:

Eric, I just downloaded the latest release (0.7.2) and ran the test suite. I too am seeing some failures, but not all the ones that you are seeing. The ones that I see are:

t27_cfstatic_shouldThrowError_whenOutputFolderDoesNotExistAndCannotBeCreated Failed t37_cfstatic_shouldNotDeleteAllFiles_whenInCheckForUpdatesMode Failed t39_cfstatic_shouldRebuildSourceFiles_whenChangesToDependencyFilesAreDetected Error

I'm not sure how up to date the tests are, so I will have to look into it. I am running 0.7.2 on a number of sites without issue, so I don't think that you will have a problem, but we'll work on getting all the tests passing.

— Reply to this email directly or view it on GitHub https://github.com/teamcfadvance/cfstatic/issues/115#issuecomment-102169943.

Boulder Outdoor Center, Inc. 2525 Arapahoe Ave. Suite E4-228 Boulder, CO 80302 Phone: (303) 444-8420 E-mail: info@BOC123.com mailto:info@BOC123.com Home Page: www.boc123.com http://boc123.com