Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
92 0 0 0 100% 0.714

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.casperjs.casperjsrunner.toolchain 7 0 0 0 100% 0.034
com.github.casperjs.casperjsrunner.cmd 51 0 0 0 100% 0.167
com.github.casperjs.casperjsrunner 34 0 0 0 100% 0.513

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

com.github.casperjs.casperjsrunner.toolchain

Class Tests Errors Failures Skipped Success Rate Time
CasperjsToolchainFactoryTest 7 0 0 0 100% 0.034

com.github.casperjs.casperjsrunner.cmd

Class Tests Errors Failures Skipped Success Rate Time
VerboseCommandLineAppenderTest 5 0 0 0 100% 0.066
LogLevelCommandLineAppenderTest 3 0 0 0 100% 0.003
IncludesCommandLineAppenderTest 5 0 0 0 100% 0.004
PreCommandLineAppenderTest 4 0 0 0 100% 0.003
ScriptCommandLineAppenderTest 2 0 0 0 100% 0.006
PostCommandLineAppenderTest 4 0 0 0 100% 0.012
ParametersFactoryTest 1 0 0 0 100% 0.01
EngineCommandLineApenderTest 3 0 0 0 100% 0.002
CommandLineComputerTest 2 0 0 0 100% 0.016
ArgQuoterTest 6 0 0 0 100% 0.001
CommandExecutorTest 3 0 0 0 100% 0.023
FailFastCommandLineAppenderTest 2 0 0 0 100% 0
TestModeCommandLineAppenderTest 1 0 0 0 100% 0
ArgumentsCommandLineAppenderTest 3 0 0 0 100% 0.006
XUnitCommandLineAppenderTest 2 0 0 0 100% 0.004
CloneOutputStreamTest 5 0 0 0 100% 0.011

com.github.casperjs.casperjsrunner

Class Tests Errors Failures Skipped Success Rate Time
PathToNameBuilderTest 2 0 0 0 100% 0.002
CasperJsVersionRetrieverTest 3 0 0 0 100% 0.032
IOUtilsTest 3 0 0 0 100% 0.011
CasperJsRuntimeFinderTest 6 0 0 0 100% 0.083
DefaultScriptsFinderTest 9 0 0 0 100% 0.019
PatternsCheckerTest 5 0 0 0 100% 0
OSUtilsTest 1 0 0 0 100% 0
OrdererScriptsFinderDecoratorTest 1 0 0 0 100% 0.01
IncludesFinderTest 4 0 0 0 100% 0.356

Test Cases

[Summary] [Package List] [Test Cases]

VerboseCommandLineAppenderTest

testAppendWithVerboseAndOldCasperByMajor 0.052
testAppendWithVerboseAndOldCasperByMinor 0.003
testAppendWithVerboseAndRecentCasperByMajor 0.003
testAppendWithVerboseAndRecentCasperByMinor 0.002
testAppendWithoutVerbose 0.001

LogLevelCommandLineAppenderTest

testAppendWithNonEmpty 0
testAppendWithEmpty 0.002
testAppendWithNull 0.001

PathToNameBuilderTest

testBuildName 0.001
testBuildNameWithPathNotInRoot 0

IncludesCommandLineAppenderTest

testAppendWithPatterns 0.001
testAppendWithNonEmpty 0.001
testAppendWithEmptyPatterns 0
testAppendWithEmpty 0.001
testAppendWithNull 0.001

PreCommandLineAppenderTest

testAppendWithDefault 0
testAppendWithNonEmpty 0
testAppendWithEmpty 0
testAppendWithNull 0.001

ScriptCommandLineAppenderTest

testAppendWithoutScript 0.002
testAppend 0.002

CasperJsVersionRetrieverTest

testRetrieveVersionFacingExWhileRunningCasper 0.024
testRetrieveVersionFacingExWhileParsingVersion 0.003
testRetrieveVersion 0.005

PostCommandLineAppenderTest

testAppendWithDefault 0.007
testAppendWithNonEmpty 0.001
testAppendWithEmpty 0.001
testAppendWithNull 0.002

IOUtilsTest

testCloseWithException 0.002
testClose 0
testCloseNull 0.002

ParametersFactoryTest

testBuildParameters 0.008

EngineCommandLineApenderTest

testAppendWithNonEmpty 0
testAppendWithEmpty 0.001
testAppendWithNull 0

CommandLineComputerTest

testComputeReal 0.007
testComputeCommandLine 0.005

CasperJsRuntimeFinderTest

testFindCasperJsRuntimeFromParameter 0.066
testFindCasperJsRuntimeFromDefault 0.002
testFindCasperJsRuntimeFromDefaultOnWindowsForOlderCasperjs 0.003
testFindCasperJsRuntimeFromToolchain 0.002
testFindCasperJsRuntimeFromToolchainButOverriden 0.001
testFindCasperJsRuntimeFromDefaultOnWindows 0.001

ArgQuoterTest

testQuoteComplexStringOnLinux 0
testQuoteEmptyStringOnWindows 0
testQuoteNull 0
testQuoteComplexStringOnWindows 0
testQuoteEmptyStringOnLinux 0
testQuoteSimpleString 0

CommandExecutorTest

testExecuteWithEx 0.012
testExecuteWithLog 0.006
testExecuteWithoutLog 0.001

CasperjsToolchainFactoryTest

testCreateToolchainWithoutVersion 0.012
testCreateToolchainWithoutExecutable 0
testCreateDefaultToolchain 0.001
testCreateToolchainWithVersion 0.009
testCreateToolchainWithBadAPI 0
testCreateToolchainWithUnexistingExecutable 0
testCreateToolchainWithNullModel 0

FailFastCommandLineAppenderTest

testAppendWithFailFast 0
testAppendWithoutFailFast 0

DefaultScriptsFinderTest

testFindScriptWithNullExcludes 0.001
testFindScriptWithFilenameAndIncludes 0.001
testFindScriptWithIncludesAndExcludes 0.002
testFindScriptWithEmptyIncludes 0
testFindScript 0.001
testFindScriptWithFilenameAndExcludes 0
testFindScriptWithNullIncludes 0
testFindScriptWithFileName 0.001
testFindScriptWithIncludes 0.004

TestModeCommandLineAppenderTest

testAppend 0

ArgumentsCommandLineAppenderTest

testAppend 0.001
testAppendNull 0
testAppendEmpty 0.001

PatternsCheckerTest

testCheckOnlyJs 0
testCheckNullPatterns 0
testCheckOnlyCoffee 0
testCheckPatterns 0
testCheckEmptyPatterns 0

OSUtilsTest

testIsWindows 0

XUnitCommandLineAppenderTest

testAppendWithoutReports 0.001
testAppendWithReports 0.001

OrdererScriptsFinderDecoratorTest

testFindScripts 0.007

CloneOutputStreamTest

testWriteByteArrayIntInt 0
testClose 0
testFlush 0.001
testWriteInt 0.001
testWriteByteArray 0

IncludesFinderTest

testFindScriptWithPatterns 0.036
testFindScript 0
testFindScriptWithEmptyPatterns 0.003
testFindScriptWithNullPatterns 0