Progress has slowed on Whiley now that Trimester 1 and my SWEN221 class with 220+ students has begun! Despite this, development continues with more contributions from others which is great. This release is largely a “cleaning up” and “bug fixing” release, rather than landing any big features.
- Parameterised Test cases (#580,#588). Thanks to @SebastianS90, this simplifies the testing framework. Previously, each test case corresponded to an entry in a JUnit test file and a source file on disk. This update employs a useful feature of JUnit allowing us to generate test cases on the fly. So, the test framework scans the list of available tests in the appropriate directories and generates the list of JUnit test cases from that.
- Fail Statement (#579). Thanks to @richdougherty, this adds the
failstatement which is mentioned in the spec and elsewhere. This should hopefully provide more flexibility when interacting with the verifier.
In addition to this, a number of other bug fixes were made.
Thanks (in no particular order) to the various people who have contributed to this release!
For the future, I am already working on a revamped
wyil bytecode format and API. And, @SebastianS90 is making good progress on an extension to support object lifetimes (as found in Rust).
As usual, you can download the latest updates from here: