I cannot test Controller methods even though I place my logical part as an individual function as exception is thrown, so where should I put the test cases? Inside the controller or still in the test folder? Thanks.
I am not sure why. Your test code should be insider your test folder.
Your logic part should not contain any javafx component or otherwise it will be nullpointer exception.
I cannot test Controller methods even though I place my logical part as an individual function as exception is thrown, so where should I put the test cases? Inside the controller or still in the test folder? Thanks.