Hi,
in our junit tests we are starting BaseX server in embedded mode. The problem is that, if there is some problem (e.g. server socket is unable to bind to port), basex server will terminate whole process. When the process is terminated during automatic junit test execution, then maven surefire plugin will report that 0 test were executed and all passed ... and we will never know that there are some problems in our application code :(
I am using following command to initialize BaseX server: server = new BaseXServer("-p" + port, "-d", "-D", "-s");
Environment: BaseX 6.7.1
regards, Igor Farinic