Unit Test


BarcodeController

Class Control Comparison Value Expected Value Time Status
TestBarcodeControl CheckBarcode assertEqual Name:Cantekin;Age:35 Name:Cantekin;Age:35 0.032s Passed

ApiClient

Class Control Comparison Value Expected Value Time Status
TestApiClient sendRequest assertEqual e8b24934679afcb5bf2706163c0cb2fa e8b24934679afcb5bf2706163c0cb2fa 0.021s Passed
TestApiClient sendFile assertIn hasta b'{\n "hasta": "0.000109082", \n "saglikli": "0.999891"\n}\n' 17.334s Passed

IrisControl

Class Control Comparison Value Expected Value Time Status
TestIrisControl CheckIris assertTrue True True 1.031s Passed

Unit Test Peer Review Status

Controller Name Is each statechart arc exercised? Is each statechart state exercised? If there are multiple OR branches in an ard, are they exercised? Are all the inputs and outputs mentioned in the behavioral requirements exercised?
ButonControl yes yes yes No(R4-not neccesary, it is automatically detect)
CameraControl yes yes yes yes
DisplayControl yes yes yes yes
BarcodeControl yes yes yes yes
IrisControl yes yes yes yes