Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
104 0 0 0 100% 11.727

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
com.github.searls.jasmine.format 8 0 0 0 100% 0.088
com.github.searls.jasmine.io 3 0 0 0 100% 0
com.github.searls.jasmine.thirdpartylibs 4 0 0 0 100% 1.02
com.github.searls.jasmine.driver 10 0 0 0 100% 1.155
com.github.searls.jasmine.server 12 0 0 0 100% 0.61
com.github.searls.jasmine.io.scripts 9 0 0 0 100% 0.071
com.github.searls.jasmine.mojo 24 0 0 0 100% 1.794
com.github.searls.jasmine.coffee 12 0 0 0 100% 0.514
com.github.searls.jasmine.exception 1 0 0 0 100% 0.003
com.github.searls.jasmine.model 3 0 0 0 100% 0
com.github.searls.jasmine.runner 18 0 0 0 100% 6.472

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.github.searls.jasmine.format

Class Tests Errors Failures Skipped Success Rate Time
BuildsJavaScriptToWriteFailureHtmlTest 3 0 0 0 100% 0.078
FormatsScriptTagsTest 2 0 0 0 100% 0
JasmineResultLoggerTest 3 0 0 0 100% 0.01

com.github.searls.jasmine.io

Class Tests Errors Failures Skipped Success Rate Time
RelativizesFilePathsTest 3 0 0 0 100% 0

com.github.searls.jasmine.thirdpartylibs

Class Tests Errors Failures Skipped Success Rate Time
ClassPathResourceHandlerTest 2 0 0 0 100% 0.483
WebJarResourceHandlerTest 2 0 0 0 100% 0.537

com.github.searls.jasmine.driver

Class Tests Errors Failures Skipped Success Rate Time
QuietHtmlUnitDriverTest 4 0 0 0 100% 1.091
WebDriverFactoryTest 6 0 0 0 100% 0.064

com.github.searls.jasmine.server

Class Tests Errors Failures Skipped Success Rate Time
JasmineResourceHandlerTest 7 0 0 0 100% 0.518
ResourceHandlerConfiguratorTest 1 0 0 0 100% 0.072
ServerManagerTest 4 0 0 0 100% 0.02

com.github.searls.jasmine.io.scripts

Class Tests Errors Failures Skipped Success Rate Time
BasicScriptResolverTest 2 0 0 0 100% 0.027
ContextPathScriptResolverTest 5 0 0 0 100% 0.007
FindsScriptLocationsInDirectoryTest 2 0 0 0 100% 0.037

com.github.searls.jasmine.mojo

Class Tests Errors Failures Skipped Success Rate Time
AbstractJasmineMojoTest 14 0 0 0 100% 0.13
ReporterRetrieverTest 4 0 0 0 100% 0.005
ResourceRetrieverTest 2 0 0 0 100% 0.006
ServerMojoTest 3 0 0 0 100% 1.282
TestMojoTest 1 0 0 0 100% 0.371

com.github.searls.jasmine.coffee

Class Tests Errors Failures Skipped Success Rate Time
DetectsCoffeeTest 4 0 0 0 100% 0.081
HandlesRequestsForCoffeeTest 8 0 0 0 100% 0.433

com.github.searls.jasmine.exception

Class Tests Errors Failures Skipped Success Rate Time
StringifiesStackTracesTest 1 0 0 0 100% 0.003

com.github.searls.jasmine.model

Class Tests Errors Failures Skipped Success Rate Time
JasmineResultTest 3 0 0 0 100% 0

com.github.searls.jasmine.runner

Class Tests Errors Failures Skipped Success Rate Time
ConsoleErrorCheckerTest 2 0 0 0 100% 0.013
CreatesRunnerTest 4 0 0 0 100% 0.989
HtmlGeneratorConfigurationTest 5 0 0 0 100% 0.844
SpecRunnerExecutorTest 1 0 0 0 100% 0.569
SpecRunnerHtmlGeneratorFactoryTest 3 0 0 0 100% 0.011
WebDriverWaiterTest 3 0 0 0 100% 4.046

Test Cases

[Summary] [Package List] [Test Cases]

DetectsCoffeeTest

whenJavaScriptHasACoffeeQueryThatsNotCoffee 0.025
whenCoffeeHasAQueryStringThatsCoffee 0
whenAStringDoesNotEndInCoffeeThatsNotCoffee 0
whenAStringEndingInCoffeeThatsCoffee 0

HandlesRequestsForCoffeeTest

setsResourceLastModifiedOnResponseHeader 0.056
whenCoffeeCompilesThenWriteIt 0.001
whenCoffeeCompilesHasMultiByteThenWriteIt 0.002
setsMimeToJavaScript 0.001
whenCoffeeRequestWithREQUIRE_JSThenWriteCoffee 0.002
setCharacterEncodingToJavaScript 0.001
whenCoffeeCompilationFailsThenWriteTheErrorOutInItsStead 0.003
setsBaseRequestHandledToTrue 0.002

QuietHtmlUnitDriverTest

doesNotOverrideIncorrectnessListenerWhenDebugFlagIsSet 0.96
installsNewAjaxController 0.009
enablesJavascript 0.007
overridesIncorrectnessListenerToSuppressOutput 0.008

WebDriverFactoryTest

customDriverIsCreatedWithCapabilitiesIfConstructorExists 0.01
setsCapabilityFromMap 0.024
enablesJavascriptOnCustomDriver 0.007
defaultDriverIsCustomHtmlUnitDriver 0.012
customDriverIsCreatedWithDefaultConstructorIfNoCapabilitiesConstructorExists 0.004
defaultDriverEnablesJavascript 0.005

StringifiesStackTracesTest

stringifiesStackTrace 0.002

BuildsJavaScriptToWriteFailureHtmlTest

esacpesMessageString 0.001
printsASimpleMessage 0
whenNothingIsPassedYouGetAnEmptyDiv 0

FormatsScriptTagsTest

formatsOneScriptNicely 0
formatsTwoScriptsNicely 0

JasmineResultLoggerTest

shouldLogDetails 0.001
setterSetsLogger 0.004
shouldLogHeader 0

RelativizesFilePathsTest

resolvesWithinDir 0
resolvesDeepChild 0
resolvesSubDir 0

BasicScriptResolverTest

testGetSourceDirectory 0.009
testGetSpecDirectory 0.001

ContextPathScriptResolverTest

testGetSources 0.001
testGetSpecs 0
testGetPreloads 0
testGetSourceDirectory 0
testGetSpecDirectory 0

FindsScriptLocationsInDirectoryTest

returnsEmptyWhenDirectoryDoesNotExist 0.025
addsScriptLocationScannerFinds 0.004

JasmineResultTest

shouldFailWhenMultipleOfTenFails 0
shouldFailWhenFail 0
shouldParseDescriptionWhenSuccessful 0

AbstractJasmineMojoTest

testGetFileSystemReporters 0.013
setsSourceExcludes 0.002
setsSpecIncludes 0
executeStringifiesStackTraces 0.006
testGetAutoRefreshInterval 0
rethrowsMojoFailureExceptions 0.003
testGetCustomRunnerTemplate 0.001
testGetBaseDir 0.001
testGetMavenProject 0
setsSpecExcludes 0.001
testGetReporters 0.002
setsSourceIncludes 0
testGetCustomRunnerConfiguration 0.001
testGetSourceEncoding 0

ReporterRetrieverTest

itShouldRetrieveJUnitFileReporterAsDefault 0.002
itShouldRetrieveStandardReporterAsDefault 0
itShouldRetrieveFileSystemReporters 0
itShouldRetrieveReporters 0

ResourceRetrieverTest

testResourceNotFound 0.001
testGetResource 0.001

ServerMojoTest

logsInstructions 0.375
startsTheServer 0.009
joinsTheServer 0.009

TestMojoTest

testExecuteIfSkipIsTrue 0.192

ConsoleErrorCheckerTest

shouldPassWhenNoErrors 0.003
shouldThrowWhenErrors 0

CreatesRunnerTest

whenRunnerDoesNotExistThenCreateNewRunner 0.243
whenRunnerExistsAndDiffersThenWriteNewOne 0.008
whenRunnerExistsAndIsSameThenDoNothing 0.007
whenExistingRunnerFailsToLoadThenWriteNewOne 0.009

HtmlGeneratorConfigurationTest

shouldReadCustomTemplateWhenOneIsProvided 0.188
shouldReadSpecRunnerTemplateWhenOneIsProvided 0.002
shouldReadDefaultSpecRunnerTemplateWhenNoneIsProvided 0.001
shouldHaveCorrectReporterType 0.001
shouldHaveCorrectSpecRunnerTemplate 0.001

SpecRunnerExecutorTest

shouldExecute 0.388

SpecRunnerHtmlGeneratorFactoryTest

shouldCreateHtmlGeneratorWhenPassedValidInput 0.006
shouldReturnDefaultImplementationWhenCalledWithDefault 0.005
shouldWrapIOException 0

WebDriverWaiterTest

itShouldThrowWhenTimesOut 2.023
itShouldWait 0
itShouldLogWhenTimesOutDebugging 2.013

JasmineResourceHandlerTest

whenTargetIsSlashThenCreateManualRunner 0.284
whenTargetIsNotSlashThenCreateManualRunner 0.002
whenCoffeeDelegatesToCoffeeHandler 0.008
whenNotCoffeeDoesNotDelegateToCoffeeHandler 0.003
whenCoffeeButResourceIsHandledDoNotDelegateToCoffeeHandler 0.002
whenCoffeeButDoesNotExistDoNotDelegateToCoffeeHandler 0.002
whenCoffeeButResourceIsNullDoNotDelegateToCoffeeHandler 0.002

ResourceHandlerConfiguratorTest

testCreateHandler 0.065

ServerManagerTest

testJoin 0.001
testStop 0
testStartOnSpecificPort 0.001
testStartAnyPort 0

ClassPathResourceHandlerTest

whenTargetStartsWithClassPathThenRespondWithResourceContent 0.307
whenResourceIsMissingThenDoNotProcess 0.003

WebJarResourceHandlerTest

whenResourceIsMissingThenDoNotProcess 0.315
whenTargetContainsFileFromWebJarRespondWithResourceContent 0.037