16. marts 2017 - 16:58Der er
1 kommentar og 1 løsning
Test rich app (loaded from jar) with cucumber
Hello guys!
I'm just playing around with cucumber and thought that it would be nice if I could get references to the classes to test from a started app started from a jar like if I programmatically start it like: Runtime runtime = Runtime.getRuntime(); Process process = runtime.exec( new String[] { "java", "-jar", fileName } ); I just thought that this would be a more realistic test. But I do not find a way to get a reference to the loaded class Main for eg. Do you think this is possible or should I just stop trying to do it this way? Best regards Fredrik
I think your comment point me in the right direction.
Thank you!
Best regards Fredrik
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.
Det er blevet kaldt ”det største it-nedbrud i historien” og omkostningerne kan nemt løbe op i syv milliarder kroner: Men hvem skal betale for Crowdstrikes fejl?