Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
53 0 0 2 96.2% 21.69 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
robot 53 0 0 2 96.2% 21.69 s

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

robot

- Class Tests Errors Failures Skipped Success Rate Time
BatteryUnitTest 8 0 0 0 100% 20.09 s
InstructionListToolUnitTest 7 0 0 0 100% 0.009 s
MapToolsUnitTest 10 0 0 0 100% 0.012 s
RoadBookCalculatorUnitTest 18 0 0 2 88.9% 1.460 s
RobotUnitTest 10 0 0 0 100% 0.118 s

Test Cases

[Summary] [Package List] [Test Cases]

BatteryUnitTest

testUse 0.025 s
testUseWithInsufficientCharge 0.002 s
testCanDeliverPositive 0.002 s
testCanDeliverNegative 0.002 s
testNiveauChargeInitial 0.001 s
testCharge 0 s
testRecharger 20.00 s
testUseMax 0.001 s

InstructionListToolUnitTest

testCompacteId 0.002 s
testCompacteTurnRightSeul 0.001 s
testCompacte5TurnRight 0.001 s
testCompacte 0.001 s
testCompacteDroiteGaucheDroiteGauche 0.001 s
testCompacte3TurnRight 0.001 s
testCompacteThree 0.001 s

MapToolsUnitTest

testNextForwardPositionEast 0.002 s
testNextForwardPositionWest 0.001 s
testClockwise 0.001 s
testNextForwardPositionNorth 0.001 s
testNextForwardPositionSouth 0.001 s
testNextBackwardPositionNorth 0.001 s
testNextBackwardPositionSouth 0.001 s
testNextBackwardPositionEast 0 s
testNextBackwardPositionWest 0 s
testCounterclockwise 0 s

RoadBookCalculatorUnitTest

testCalculateNEroad 1.195 s
testCalculateNWroad 0.005 s
testCalculateSEroad 0.004 s
testCalculateSWroad 0.003 s
testRoute 0.019 s
testArriveeHorsCarteSurCarteReduite 0.014 s
testRouteSimple1 0.008 s
testRouteSimple2 0.004 s
testCalculateOneInstructionNorthRoad 0.002 s
testArriveeInaccessible 0 s
- public void robot.RoadBookCalculatorUnitTest.testArriveeInaccessible() throws robot.LandSensorDefaillance,robot.UndefinedRoadbookException is @Disabled -
testCalculateOneInstructionEastRoad 0.001 s
testCalculateStraightForwardRoad 0.002 s
testCalculateOneInstructionWestRoad 0.002 s
testCalculateAtDestination 0.001 s
testRouteCulDeSac 0.007 s
testArriveeHorsCarte 0 s
- public void robot.RoadBookCalculatorUnitTest.testArriveeHorsCarte() throws robot.LandSensorDefaillance,robot.UndefinedRoadbookException is @Disabled -
testArriveeIsolee 0.160 s
testCalculateOneInstructionSouthRoad 0.002 s

RobotUnitTest

testComputeRoadTo 0.096 s
testMoveBackward 0.002 s
testMoveForward 0.002 s
testLand 0.001 s
testRobotMustBeLandedBeforeMoveForward 0.002 s
testLetsGoWithoutRoadbook 0.002 s
testComputeRoadToWithUnlandedRobot 0.001 s
testTurnRight 0.002 s
testTurnLeft 0.001 s
testLetsGo 0.002 s

Failure Details

[Summary] [Package List] [Test Cases]


testArriveeInaccessible
- skipped: public void robot.RoadBookCalculatorUnitTest.testArriveeInaccessible() throws robot.LandSensorDefaillance,robot.UndefinedRoadbookException is @Disabled
testArriveeHorsCarte
- skipped: public void robot.RoadBookCalculatorUnitTest.testArriveeHorsCarte() throws robot.LandSensorDefaillance,robot.UndefinedRoadbookException is @Disabled