Testing Tutorial: What is Testing

From KratosWiki
Revision as of 08:54, 2 September 2016 by Pooyan (Talk | contribs)
Jump to: navigation, search

Usually the first question of a new developer entering for the first time to a large project and especially an open source one is: "how can I be sure that the changes by other person won't affect or destroy my part?" One answer would be a good structure and division of the code is the key. But even with a perfect structure one should protect its developments by providing tests which shows the correct function of its parts.

The testing mechanism in Kratos helps developers to create tests during their developments in a systematic way and gives the possibility to rerun them afterward. So after any change in the code one can run these tests to verify if they are not failing. In this way any new development should develop new tests and should also verify if all existing tests are OK. In an extreme approach, for any new development, one would create a test for that feature (which fails due to the lack of the feature) and then develops the code implementing that feature.

Personal tools
Categories