+ 3
Help needed in Java and Junit
I need help with testing a program .... can anyone modify the code in class âsaleMachineTestâ so it tests the saleMachine class by creating multiple salemachines as shown in class âsaleMachineTestâ https://code.sololearn.com/cbt3rpI5GWxc/?ref=app
2 Answers
+ 2
Thank you for your response ......
okay .... lets say we remove the junit library .. how would one test this program, for example using a class with the âMainâ method . can you please show me how i would run this code. /*copy&paste the saleMachine class, you can delete the testSaleMachine class and the junit imports .... then maybe create a âMainâ class thatâll run the program*/
+ 1
Ayyy....Thanks for your help, much appreciated.