Errors when running Unit tests

Just got the server up and running with the community's help and ran the unit test using the ant tests command.

Result for Vagrant setup:

Results for Local setup:

I haven't changed anything yet, what might be the reason. Please help me out.

So the failures in the blocklyeditor package are likely due to missing phantomjs in your environment. You'll need to install that to get the blocklyeditor tests to pass. The other errors are more surprising. If you go into the specific package(s), there is an option to view the System.err output. This will give stack traces that might explain why those tests are failing.

2 Likes

This makes sense to me as I didn't setup Phantomjs on Vagrant.

Thanks, will try this out.

Best,
Aditya

Checked the stack and there appears to be a variety of errors including Not fount, Could not initialize class, Illegal character, etc. I'm not sure what's causing this, please help me out, the reports are attached below.
reports.zip

What version of Java are you using and on which version of Windows? e.g., if you run java -version and javac -version, what do you get?

$ java -version
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
$ javac -version
javac 1.8.0_202
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
$ ant -version
Apache Ant(TM) version 1.10.12 compiled on October 13 2021
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
$ systeminfo

Host Name:                 DESKTOP-FBIK0DC
OS Name:                   Microsoft Windows 10 Home Single Language
OS Version:                10.0.19043 N/A Build 19043