I am writing a programme that should open a given browser with a certain url and then bring that browser to the front using JNA. I also first check, if the browser is already running and I check the OS type.
What would be sensible unit tests to perform? Im new to JUnit and unit tests.
My thoughts so far: a) Check what happens if OS version is not covered (I only cover windows, a couple of linux distributions and mac os) b) check what happens when browser exe cannot be found and thus the process cannot be started
Not much, I know :)
Id be happy for some advice and ideas!
Aucun commentaire:
Enregistrer un commentaire