OpenSourceEcon / BootCamp2018

Repository of syllabi, lecture notes, Jupyter notebooks, code, and problem sets for OSM Lab Boot Camp 2018
81 stars 102 forks source link

Unit testing versus validation testing #7

Open rickecon opened 6 years ago

rickecon commented 6 years ago

@quainialberto asked the following with regard to Problem 1 in the Object Oriented Programming lab:

I am approaching Problem 1 of OOP and we are required to test our object. Since we leant how to do unit testing, can we create a unit test to test our object or we need to write the test like in the example given inside the problem formulation? Thanks, Albi

You should do the testing as is stated in Problem 1 of the OOP lab. The testing requested and shown in Problem 1 of OOP is called validation testing and is different from unit testing. Both are important.

a91quaini commented 6 years ago

Ok thanks!