I posted a new version on SourceForge.
There was no big change for this release, just lots of small stuff since the last one.
I have included the current jsuneido.jar – we are using it for production but beware, there are probably still bugs.
Note: the jsuneido database format is different so you must do suneido -dump and then java -jar jsuneido.jar -load to convert a database.
You can get a read-eval-print-loop command line interface with:
java -jar jsuneido.jar
One recent stdlib addition is the ability to write Hamcrest style asserts.
e.g. Assert(x is: 123)
This will give better error messages than doing Assert(x is 123) and is nicer than AssertEq(x, 123)
It’s also easy to add additional “matchers”. Look at Assert_is, Assert_endsWith, etc.
Another recent change is that switch statements will now throw an exception for unhandled cases. You need to explicitly add a default: case if you want to ignore other values.
You must be logged in to reply to this topic.