Skip to content

Make reql tests not be so unfriendly #1402

Closed

Description

@jdoliner

Reql tests are very very difficult to use as a developer. When something fails they don't tell you what failed. And in many cases they'll barf up a huge amount of output making it really hard to even find the backtrace of the thing that failed.

This is getting to be a very big time sink for me so I'd prefer if this was scheduled for 1.10. It's actually getting to a point where the deficiencies of the system can add full days of development time to otherwise simple things.

Activity

  1. coffeemug commented on Sep 5, 2013

    @coffeemug
    Contributor

    I don't know what the scope of this is (I know the system isn't ideal, but I don't know what's involved in making it better). Putting this in 1.10. The milestone is getting really big, so I think we should break it up into multiple releases. I don't know quite how to prioritize things yet in order to break it up -- we should talk about it. I'll look through all the issues tonight and try to come up with a model for what to do in my head.

  2. self-assigned this
    on Mar 26, 2014
  3. AtnNn commented on Mar 26, 2014

    @AtnNn
    Member

    I've been experimenting with a solution to this as part of my work on #490.

    Here's what I want to do:

    • replace yaml with a similar custom format that does not require escaping queries and that uses less indentation.
    • Do not require the result of the queries to be typed out. When run with a certain flag, the test suite will fill in the output of the queries, either inline or in another file. This output would also include backtraces.
    • When a test fails, make it obvious which one and how. Also add a flag that causes the tests to open a repl when it fails.
    • Replace the current system that converts queries between languages with a regex by a solution that takes a python query object and pretty-prints it into other languages.
  4. modified the milestones: tests, backlog on Apr 25, 2014
  5. assigned and unassigned on Apr 30, 2014
  6. added a commit that references this issue on May 6, 2014
  7. 2 remaining items

  8. added 9 commits that reference this issue on Jun 7, 2014
  9. larkost commented on Jun 11, 2014

    @larkost
    Collaborator

    Changes merged to next with commit 76b0855, and v1.13.x with commit fc6acbe.

  10. mlucy commented on Jun 11, 2014

    @mlucy
    Member

    ^.^

  11. larkost commented on Jun 11, 2014

    @larkost
    Collaborator

    Note that this is a more limited version of what is outlined here... I want to tackle more of this, but in the context of merging the run and test-runner commands.

  12. modified the milestones: 1.13, tests on Jun 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions