texadactyl / jacotest.go Goto Github PK
View Code? Open in Web Editor NEWUser-level Testing Companion to Jacobin
License: Mozilla Public License 2.0
User-level Testing Companion to Jacobin
License: Mozilla Public License 2.0
During showHelp, jacotest should show the version of go used to build the executable.
sqlite3.go
is affected:
Note 1st time failure as a nonfatal error.
Note recovery in 2nd attempt as successful.
Now that report files are date and time stamped, its getting a bit messy to have them all resident at the highest-level directory. So, a reports subdirectory was created; all reports will be resident therein.
The subject line says it all!
and test them!
Are the RUN_REPORTS*.md files still useful?
I ask because I never use them.
My proposed low-cost approach is to output a github markdown file (.md), suitable for viewing on the github site.
Currently, jacotest scans every log file for error fragments.
Fix this behaviour to scan only the logs of failed tests.
When running test JACOBIN-0263-gc, I get an intermittent error on Windows 10 running HotSpot from JDK17 (Termurin). Attached image shows the output.
If I had to guess, it might be because the total elapsed time is zero--although the error occurring in <init>
, which is the constructor, makes me most uncertain about my diagnosis.
"When I run Jacotest against Jacobin, I get "FAILED" on every test. That appears to be b/c it can't find the Jacobin executable. I would suggest testing for the Jacobin executable before the test run. If it can't be found, then say that in the report and abort the run. There's no point running the tests after that."
Amen.
Om Richard,
I finally got some time off from all this excess vacationing and spent it happily getting into Jacotest.
Above all, thank you for this original test suite that I can run without blowing up my GitHub Actions and thereby incurring on the project home page, the dreaded, red "Failed to run properly" badge.
Here are initial thoughts and suggestions. I thought I'd send them in an email and you can break them out into tasks on GitHub if you want or if you prefer on a free instance of YouTrack. I like the latter more than GitHub b/c we can speak freely about deficiencies without making our project look deficient. Anyway, please take them in exactly the same spirit as your many thoughtful comments pointing out deficiencies and possible improvements in Jacobin.
In the run reports:
<br>
is not a valid tag, so those tags in the run report look strange.||| |
If I copy jacobin.exe to the main Jacotest directory and juse -j jacobin on the command line, the tests run, but every Executing statement is followed by:
*** ERROR, runnder: cmd.run(jacobin main.class) returned:
Once again, all the log files are empty, so I can't tell what's wrong.
Again, thank you for Jacotest. I look forward to using it regularly, once I can get it to run on my system.
Feel free to move these comments to a different forum and we can continue the dialog there, or we can carry on via email--as your preference dictates.
"I would suggest that the non-Jacobin run, not be called java, as both JVMs are in theory executing Java. I think OPENJDK or just JDK are more descriptive."
Amen to this too. I was lazy in simply using the JDK executable file name.
Test case zippy uses a zip file created on an Ubuntu Linux system such that all the entries show precisely a last modification timestamp of 2023-05-06T20:37:34Z (15:37:34 USA CT). This was set up prior to zipping with a recursive touch
using find
.
When I run zippy on my home Ubuntu system, all is well.
However, when I run zippy under Github Actions, I saw messages like this:
ERROR :: For name 0.main.log, expected stamp = 2023-05-06T20:37:34Z but observed 2023-05-06T15:37:34Z
Observed "15:37:34Z" ??? Yes, if one could time travel back 5 hours.
Switching to using a CRC methodology in place of the time stamp:
Error category "Invalid bytecode" was missed in some test cases which were simply logging the static variables that contained the name of exceptions.
E.g.
http-client-server: com/sun/jdi/ClassNotLoadedException.$assertionsDisabled {Z 0}```
Previously, this test case used a fixed port number of 9876.
Now, it will try to get the first available in the range of 3101 to 3127.
Reference: https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
An important query is to compare the last 2 test case history items. Thus, it is important to query with date and time descending.
use docker to execute
O/S: ubuntu_latest
O/S dependencies:
Other dependencies:
This requires some research using a nix VM to install Windows.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.