You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2021/11/12 11:04:00 UTC

[jira] [Commented] (CALCITE-4885) Fluent test fixtures so that dependent projects can write parser, validator and rules tests

    [ https://issues.apache.org/jira/browse/CALCITE-4885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442683#comment-17442683 ] 

Vladimir Sitnikov commented on CALCITE-4885:
--------------------------------------------

I suggest we move to AssertJ rather than continue Hamcrest-based approach: CALCITE-4659.

Hamcreset matchers are hard to create, and hamcrest matches are hard to discover: they are written in "backwards" way, so one can't press autocomplete and see which assertions are available.

> Fluent test fixtures so that dependent projects can write parser, validator and rules tests 
> --------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4885
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4885
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Priority: Major
>
> Provide fluent test fixtures so that dependent projects can write parser, validator and rules tests.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)