Reference no: EM132177488
Describe your experience developing and writing JUnit tests for each of the three features by addressing each of the following questions:
How many JUnit tests did you create for each of the features (i.e., Doctor Information Feature, Medical Records Feature, and Allergy Find Feature) and why? In other words, what was your level of testing for each of the features? Explain your reasoning based on the best practices you have learned in the course.
How did you organize your tests for each of the features? For example, did you group any of your tests into test suites for any of the features? Why or why not? Explain your reasoning based on the best practices you have learned in the course.
Did you address all the software requirements? Describe how you met each of the requirements from the test plan (listed below).
Doctor Information Feature Requirement: The system shall allow the user to log in and add a doctor to the list of doctors. Doctors’ names do not have to be unique, but doctors’ IDs should be unique.
Medical Records Feature Requirement: The system shall allow the user to add a medical record to a patient.
i. Add a patient.
ii. Add a medical record with treatments, medications, and allergies.
o When you create a medical record, it is necessary to create a patient history, which will contain 1 to many treatments, 1 to many medications, and 1 to many allergies. Medications cannot be assigned to a patient history unless there has been a treatment first.
Allergy Find Feature Requirement: The system shall allow the user to search for allergies and print all patients with allergies.
How did you ensure that your code was technically sound and efficient? Include screenshots of your code demonstrating that it is the following:
Syntactically accurate (style and syntax)
Logical (how well your program satisfies the requirements of the assignment)
Concise (how thoroughly you have tested your own code)
Modular (how you organized your tests)
Defend the effectiveness of your tests by answering the following final questions:
Did you find at least five errors? How many did you find in total?
What were the errors?