Skip to main content

[jsr363-experts] Re: TCK

  • From: Werner Keil < >
  • To: " " < >
  • Subject: [jsr363-experts] Re: TCK
  • Date: Thu, 24 Sep 2015 10:31:09 +0200

Dear Experts,

Please check out the latest TCK results for the RI:
https://circleci.com/gh/unitsofmeasurement/unit-tck-usage/38
(branches "java8" and "enums" may be based on the last TCK milestone, but
all of them pass and you can check the artifacts to see TCK results there)

There's actually another test in the making for Derived Quantities, but
Circle-CI has no chaining of build jobs (might have to see, if Travis-CI
does, but all in all, especially for its consequent Docker use, Circle-CI
looks great and does the job) based on a trigger like "Job X succeeded".

Every profile except "format" now got one or more tests. Still a lot more
"boilerplate" tests like checking immutable calls or that implementations
of at least Quantity and Dimension also override hashCode and equals.
I won't go into much detail about the JSR or TCK next week in Budapest, but
hope, meeting Martin in person allows us to identify other tests he could
think of than the ones we already got (all based on chapters in the Spec)

Regards,
Werner

On Fri, Sep 4, 2015 at 12:50 PM, Werner Keil 
< >
 wrote:

> Dear Experts,
>
> Please have a look at a new paragraph of the Spec describing Profiles:
>
> https://docs.google.com/document/d/12KhosAFriGCczBs6gwtJJDfg_QlANT92_lhxUWO2gCY/edit#heading=h.svdarijrxn98
>
> Chapters "API" and "SPI" shifted slightly, they are now 4 and 5 (the top
> levels got re-numbered when the RI part  was removed) which unless we find
> a need for major restructuring should likely remain stable.
> The TCK already knows about "Profile" and related TestNG groups (a bit
> similar to what CDI does e.g. when deciding between Java EE "Full Profile"
> or "Web Profile" but our TCK is much smaller and simpler;-) so all we have
> to do is make sure, a test class like
>
> https://github.com/unitsofmeasurement/unit-tck/blob/master/src/main/java/tec/units/tck/tests/FundamentalTypesTest.java
> has the necessary "groups" in each @Test method.
>
> Please advise on the exact profiles, if you feel there's a need for more
> or others.
> We can't have a "pick your quantity" profile I'm afraid, that would make
> things too complicated, but aside from "none" (except in the "Full" profile
> or the 2 "Quantity" ones, the "quantity" package is optional and not taken
> into consideration) "Base Quantities" and "All JSR 363 Quantities" if you
> feel a certain domain or use case demands another quantity group, just tell
> us.
>
> Regards,
>
> Werner
>


[jsr363-experts] Re: TCK

Werner Keil 09/04/2015

[jsr363-experts] Re: TCK

Werner Keil 09/24/2015
 
 
Close
loading
Please Confirm
Close