nus-cs2103-AY2425S1 / forum

11 stars 0 forks source link

Anyone tried testing Ui with TestFX? #510

Open celeschai opened 1 month ago

celeschai commented 1 month ago

I am attempting to use TestFX to test our Ui components but cannot even get through the first step of testing the CommandBox...

If anyone tried can you share an example with me?

How do you get a unit test for CommandBox? How do you stub a CommandExecutor?

damithc commented 1 month ago

@celeschai It's good that you are trying to automate GUI tests. I've added a FAQ with some relevant points here.

damithc commented 3 weeks ago

@celeschai Any further developments on this?