Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
198 0 0 0 100% 5.958 s

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
(default package) 34 0 0 0 100% 0.300 s
calculator 160 0 0 0 100% 5.636 s
calculator.command 4 0 0 0 100% 0.022 s

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

(default package)

- Class Tests Errors Failures Skipped Success Rate Time
CucumberTest 34 0 0 0 100% 0.300 s

calculator

- Class Tests Errors Failures Skipped Success Rate Time
TestLog 4 0 0 0 100% 0.054 s
TestArctangente 2 0 0 0 100% 0.005 s
TestCosinus 3 0 0 0 100% 0.007 s
TestCalculatorApplication 1 0 0 0 100% 0.650 s
TestParserVisitor 11 0 0 0 100% 0.175 s
TestRationnal 1 0 0 0 100% 0.001 s
TestTanh 2 0 0 0 100% 0.003 s
TestSinus 2 0 0 0 100% 0.005 s
TestPlus 6 0 0 0 100% 0.015 s
TestEvaluationService 4 0 0 0 100% 0.203 s
TestMinus 6 0 0 0 100% 0.008 s
TestEvaluationController 1 0 0 0 100% 4.099 s
TestArccosinus 2 0 0 0 100% 0.109 s
TestTimes 6 0 0 0 100% 0.007 s
TestDivides 10 0 0 0 100% 0.012 s
TestComplex 4 0 0 0 100% 0.006 s
TestSqrt 2 0 0 0 100% 0.003 s
TestOperation 4 0 0 0 100% 0.008 s
TestEvaluator 21 0 0 0 100% 0.067 s
TestNotation 7 0 0 0 100% 0.081 s
TestTangente 2 0 0 0 100% 0.004 s
TestLn 2 0 0 0 100% 0.011 s
TestCounting 10 0 0 0 100% 0.015 s
TestSinh 2 0 0 0 100% 0.003 s
TestCosh 2 0 0 0 100% 0.004 s
TestPower 34 0 0 0 100% 0.069 s
TestArcsinus 2 0 0 0 100% 0.003 s
TestReal 7 0 0 0 100% 0.009 s

calculator.command

- Class Tests Errors Failures Skipped Success Rate Time
TestEvalCommand 4 0 0 0 100% 0.022 s

Test Cases

[Summary] [Package List] [Test Cases]

TestLog

testLogWithIntegers 0.013 s
testCompute 0.012 s
testEquals 0.001 s
testLogWithRational 0.023 s

TestArctangente

testCompute 0.002 s
testEquals 0.001 s

TestCosinus

testConstructor1 0.002 s
testCompute 0.001 s
testEquals 0.001 s

TestCalculatorApplication

contextLoads 0.081 s

TestParserVisitor

testPrePlus2ParamVisitsAllArguments 0.012 s
testDifferentiateRationalAndDivision 0.009 s
testPreMultVisitsAllArguments 0.014 s
testInfixAddSubBuildsLeftAssociativeTree 0.008 s
testInfixFunctions 0.055 s
testPostPlus2ParamVisitsAllArguments 0.006 s
testInfixImplicitMultiplicationVisitsAllFactors 0.012 s
testPostfixFunctions 0.010 s
testParseFunctions 0.025 s
testPrefixFunctions 0.013 s
testPostMultVisitsAllArguments 0.007 s

TestRationnal

testEquals 0.001 s

TestTanh

testCompute 0.002 s
testEquals 0.001 s

CucumberTest

Integer Arithmetic Expressions - Adding two integer numbers 0.107 s
Integer Arithmetic Expressions - Subtracting two integer numbers 0.004 s
Integer Arithmetic Expressions - Multiplying two integer numbers 0.004 s
Integer Arithmetic Expressions - Dividing two integer numbers 0.004 s
Integer Arithmetic Expressions - Exponentiation of two integer numbers 0.012 s
Integer Arithmetic Expressions - Dividing a number by zero 0.005 s
Integer Arithmetic Expressions - Printing the sum of two integer numbers 0.008 s
Integer Arithmetic Expressions - Evaluation arithmetic operations over a list of integer numbers 0.014 s
Integer Arithmetic Expressions - Adding two integer numbers - Examples - Example #1.1 0.008 s
Integer Arithmetic Expressions - Adding two integer numbers - Examples - Example #1.2 0.006 s
Integer Arithmetic Expressions - Dividing two integer numbers - Examples - Example #1.1 0.004 s
Integer Arithmetic Expressions - Dividing two integer numbers - Examples - Example #1.2 0.005 s
Integer Arithmetic Expressions - Dividing two integer numbers - Examples - Example #1.3 0.005 s
Integer Arithmetic Expressions - Evaluating arithmetic operations with two integer parameters - Examples - Example #1.1 0.007 s
Integer Arithmetic Expressions - Evaluating arithmetic operations with two integer parameters - Examples - Example #1.2 0.005 s
Integer Arithmetic Expressions - Evaluating arithmetic operations with two integer parameters - Examples - Example #1.3 0.005 s
Integer Arithmetic Expressions - Evaluating arithmetic operations with two integer parameters - Examples - Example #1.4 0.007 s
Integer Arithmetic Expressions - Adding two complex numbers 0.008 s
Integer Arithmetic Expressions - Adding two complex numbers 0.006 s
Integer Arithmetic Expressions - Subtracting two complex numbers 0.007 s
Integer Arithmetic Expressions - Subtracting two complex numbers 0.004 s
Integer Arithmetic Expressions - Multiplying two complex numbers 0.005 s
Integer Arithmetic Expressions - Multiplying two complex numbers 0.004 s
Integer Arithmetic Expressions - Dividing two complex numbers 0.012 s
Integer Arithmetic Expressions - Dividing two complex numbers 0.004 s
Integer Arithmetic Expressions - Exponentiation of two complex numbers 0.005 s
Integer Arithmetic Expressions - Adding two rational numbers 0.004 s
Integer Arithmetic Expressions - Subtracting two rational numbers 0.005 s
Integer Arithmetic Expressions - Multiplying two rational numbers 0.004 s
Integer Arithmetic Expressions - Dividing two rational numbers 0.004 s
Integer Arithmetic Expressions - Exponentiation of two rational numbers 0.007 s
Integer Arithmetic Expressions - Automatic simplification of results 0.003 s
Integer Arithmetic Expressions - Dividing a rational by zero 0.003 s
Integer Arithmetic Expressions - Exponentiation of two real numbers 0.005 s

TestSinus

testCompute 0.002 s
testEquals 0.001 s

TestPlus

testNull 0.002 s
testConstructor1 0.001 s
testConstructor2 0.003 s
testHashCode 0.001 s
testNullParamList 0.001 s
testEquals 0.004 s

TestEvaluationService

testNullArgs 0.001 s
testValidOperation 0.188 s
testEmptyArgs 0.001 s
testInvalidOperation 0.006 s

TestMinus

testNull 0.001 s
testConstructor1 0.001 s
testConstructor2 0.001 s
testHashCode 0.001 s
testNullParamList 0.001 s
testEquals 0 s

TestEvaluationController

greetingShouldReturnMessageFromService 0.385 s

TestEvalCommand

testExecuteWithInvalidExpression 0.010 s
testExecuteWithEmptyString 0.001 s
testExecuteWithValidExpression 0.006 s
testExecuteWithNull 0.002 s

TestArccosinus

testCompute 0.083 s
testEquals 0.001 s

TestTimes

testNull 0.001 s
testConstructor1 0.001 s
testConstructor2 0 s
testHashCode 0 s
testNullParamList 0 s
testEquals 0 s

TestDivides

testDivideByZero 0.001 s
testNull 0 s
testConstructor1 0 s
testConstructor2 0 s
testDivideByZeroComplex 0 s
testHashCode 0 s
testNullParamList 0.001 s
testEquals 0 s
testDivideRationnals 0 s
testDivideByZeroRationnal 0.002 s

TestComplex

testNaN 0.001 s
testNaNOperations 0.003 s
testCastFromNaNReal 0.001 s
testEquals 0 s

TestSqrt

testCompute 0 s
testEquals 0 s

TestOperation

testCountDepth 0.002 s
testCountNbs 0.001 s
testCountOps 0.001 s
testEquals 0.001 s

TestEvaluator

testEvaluateCosinus 0.006 s
testEvaluateArctangente 0.010 s
testEvaluatorRationnal 0.001 s
testEvaluateArccosinus 0.006 s
testEvaluateOperations(String)[1] 0.001 s
testEvaluateOperations(String)[2] 0.001 s
testEvaluateOperations(String)[3] 0.001 s
testEvaluateOperations(String)[4] 0.001 s
testEvaluateArcsinus 0.006 s
testEvaluateComplexOperations(String)[1] 0.002 s
testEvaluateComplexOperations(String)[2] 0 s
testEvaluateComplexOperations(String)[3] 0.001 s
testEvaluateComplexOperations(String)[4] 0.001 s
testEvaluatorComplex 0.001 s
testEvaluateRationnalOperations(String)[1] 0.001 s
testEvaluateRationnalOperations(String)[2] 0 s
testEvaluateRationnalOperations(String)[3] 0.001 s
testEvaluateRationnalOperations(String)[4] 0.001 s
testEvaluateSinus 0.002 s
testEvaluateTangente 0.002 s
testEvaluatorReal 0 s

TestNotation

testNotationsComplex 0.002 s
testSeveralNotation 0.001 s
testOutput(String)[1] 0.013 s
testOutput(String)[2] 0.002 s
testOutput(String)[3] 0.001 s
testOutput(String)[4] 0.001 s
testUnaryNotation 0 s

TestTangente

testCompute 0.001 s
testEquals 0.001 s

TestLn

testCompute 0.002 s
testEquals 0.006 s

TestCounting

testRationnalDeepExpressionCounting 0.001 s
testOperationCounting(String)[1] 0 s
testOperationCounting(String)[2] 0.001 s
testOperationCounting(String)[3] 0.001 s
testOperationCounting(String)[4] 0.001 s
testComplexDeepExpressionCounting 0 s
testRationnalNumberCounting 0 s
testUnaryFunctionCounting 0 s
testNumberCounting 0 s
testComplexNumberCounting 0 s

TestSinh

testCompute 0.001 s
testEquals 0 s

TestCosh

testCompute 0.002 s
testEquals 0.001 s

TestPower

testZeroExpPlusInf 0.001 s
testMinusInfExpPlusInf_isNaN 0.001 s
testRatZeroExpRatZero_isNaN 0 s
testPosIntExpNegInt 0 s
testNegRatExpRatWithOddDenom 0.002 s
testPosIntExpPosInt 0.001 s
testRealExpReal 0.006 s
testNegIntExpOddNegInt 0.001 s
testNegRealExpReal_isNaN 0.001 s
testNegIntExpOddPosInt 0.001 s
testNull 0.003 s
testNegIntExpEvenNegInt 0.001 s
testNegIntExpEvenPosInt 0.001 s
testNegRealExpRatWithEvenDenom_isNaN 0.001 s
testNaNExpNaN 0.001 s
testIntExpZero 0.001 s
testRealExpMinusInf 0.001 s
testComplexExpComplex_throwsException 0.007 s
testOneExpPlusInf 0.001 s
testRatExpRat 0.002 s
testZeroExpNegReal 0.001 s
testNegRealExpInteger 0.001 s
testNegRatExpRatEqOne 0.001 s
testZeroExpZero_isNaN 0.002 s
testRealExpPlusInf 0.001 s
testZeroExpNegRat_isNaN 0.001 s
testHashCode 0.001 s
testNullParamList 0.001 s
testZeroExpNegInt_isNaN 0.001 s
testEquals 0.001 s
testRealBetweenZeroAndOneExpMinusInf 0.001 s
testRealBetweenZeroAndOneExpPlusInf 0.002 s
testZeroExpRat 0.001 s
testMinusInfExpMinInf_isNaN 0.001 s

TestArcsinus

testCompute 0.001 s
testEquals 0.001 s

TestReal

testNan 0.002 s
dividesCornerCases 0.001 s
testScale 0 s
addCornerCases 0.001 s
timesCornerCases 0.001 s
testRounding 0.001 s
testEquals 0.001 s