This program has taken a constant input of body parameters. But in real time scenario, the data could be fetched using an API call or could be input as a file in either case the JSON format data will be converted into a dictionary Unit Testing Unit tests are written using unittest framework Unit test can by run by executing python calculate_bmi_test.py