Closed j15e closed 11 years ago
Is there any addtionnal informations on how to run tests?
It seems like either 15+ tests are broken or I a missing some setup here.
I get multiple errors on my fork tests (failing before I made any patching) :
https://travis-ci.org/hooktstudios/sinatra-assetpack/jobs/3356411
1) Failure: test_compressed_css(AppTest) [test/unit_test.rb:94]: Expected "" to include "rgba(0,0,255,0.3)". 2) Failure: test_compressed_css_with_cache_bust(AppTest) [test/unit_test.rb:99]: Expected "" to include "rgba(0,0,255,0.3)". 3) Failure: test_compressed_js(AppTest) [test/unit_test.rb:83]: Expected "$(function(){alert(\"Hello\");});$(function(){alert(\"Hello\");});$(function(){alert(\"Hellö\");});" to include "var x;x=function(){". 4) Failure: test_compressed_js_with_cache_bust(AppTest) [test/unit_test.rb:89]: Expected "$(function(){alert(\"Hello\");});$(function(){alert(\"Hello\");});$(function(){alert(\"Hellö\");});" to include "var x;x=function(){". 5) Failure: test_css_sass(AppTest) [test/mime_type_test.rb:11]: Failed assertion, no message given. 6) Failure: test_js_coffee(AppTest) [test/mime_type_test.rb:21]: Failed assertion, no message given. 7) Failure: test_js_hi_2834987_js_coffeescript_with_cache_buster(AppTest) [test/unit_test.rb:32]: Failed assertion, no message given. 8) Failure: test_js_hi_js_coffeescript(AppTest) [test/unit_test.rb:11]: Failed assertion, no message given. 9) Failure: test_sass(AppTest) [test/unit_test.rb:59]: Failed assertion, no message given. 10) Failure: test_Compressed_js_caching(CacheTest) [test/cache_test.rb:6]: not all expectations were satisfied unsatisfied expectations: - expected exactly once, not yet invoked: JSMin.minify(any_parameters) 11) Failure: test_embed(PreprocTest) [test/preproc_test.rb:26]: Failed assertion, no message given. 12) Failure: test_preproc(PreprocTest) [test/preproc_test.rb:6]: Failed assertion, no message given. 13) Failure: test_preproc_on_minify(PreprocTest) [test/preproc_test.rb:21]: Failed assertion, no message given. 14) Failure: test_build(SqwishTest) [test/sqwish_test.rb:24]: not all expectations were satisfied unsatisfied expectations: - expected exactly once, not yet invoked: #<AnyInstance:Sinatra::AssetPack::SqwishEngine>.css(any_parameters) 15) Failure: test_cache_dynamic_files_when_reload_templates_is_false(TemplateCacheTest) [test/template_cache_test.rb:16]: not all expectations were satisfied unsatisfied expectations: - expected exactly once, not yet invoked: #<AnyInstance:TemplateCacheTest::App>.asset_filter_css(any_parameters)
Now tests can be run with rake simply, will add documentation and close this
rake
Is there any addtionnal informations on how to run tests?
It seems like either 15+ tests are broken or I a missing some setup here.
I get multiple errors on my fork tests (failing before I made any patching) :
https://travis-ci.org/hooktstudios/sinatra-assetpack/jobs/3356411