Tests with gradle from IntelliJ

I’m trying to run tests as gradle tasks from IntelliJ with specifying which tests do I actually want to run. From the console the tests run fine:./gradlew myTestTask –tests ‘com.mycompany.MyTestClass’ But if I create a new run/debug configuration in IntelliJ with myTestTask as the task and –tests ‘com.mycompany.MyTestClass’ as the script parameters then the runs Continue Reading

Using Selenium with a virtual framebuffer

I needed to run my Selenium tests on a virtual machine, on RedHat Enterprise Linux 6.6 in a multi-screen environment and this messed up the screenshots that the tests took. Virtual frame buffer to the rescue: First I had to install it, wget http://vault.centos.org/6.2/os/x86_64/Packages/xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm sudo yum localinstall xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm  then I could start it, Xvfb :1 Continue Reading

Too many beans

Situation: I have a Weblogic container, an application, which I would like to deploy with an ant script and an error message saying: The problem in my case is that the container gets corrupt somehow, so I need to delete the directory containing it and re-create the whole thing. After that deploying my application works Continue Reading

Tablet problems

I got a mini heart attack today.I got a new tablet somewhat recently. It’s an Ainol Novo 7 Venus. Today as I left work, I checked my e-mails on the tablet, it was working fine. As I got home the screen didn’t turn on, it remained dark. A little googling showed that others have seen Continue Reading