z-logo
open-access-imgOpen Access
nCODET: A Tool For Novice Developer To Detect Untestable Code
Author(s) -
Saiful Bahri Hisamudin et.al
Publication year - 2021
Publication title -
türk bilgisayar ve matematik eğitimi dergisi
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.218
H-Index - 3
ISSN - 1309-4653
DOI - 10.17762/turcomat.v12i3.1151
Subject(s) - testability , computer science , unit testing , code (set theory) , test (biology) , algorithm , theoretical computer science , programming language , reliability engineering , software , engineering , paleontology , set (abstract data type) , biology
Uncontrollability is troublesome for unit testing. It causes a non-deterministic behavior where the same input can produce different results based on different executions. The non-deterministic characteristic makes it impossible to test the internal logic of a method because it suffers from tight coupling, a single responsibility principle violation, being an untestable code, being non-reusable or hard to maintain. This paper describes a tool, namely the non-deterministic Code Detection Tool (nCODET) that aims to assist novice developers to write testable codes by avoiding the non-deterministic characteristic in their codes. Our research focuses on the unit testability of classes; particularly the effort involvedin constructing unit test cases.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here