You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
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.
Activity
coffeemug commentedon Sep 5, 2013
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.
AtnNn commentedon Mar 26, 2014
I've been experimenting with a solution to this as part of my work on #490.
Here's what I want to do:
initial commit of rql tests rework
initial commit of rql tests rework
initial commit of rql tests rework
initial commit of rql tests rework
further changes on #1402, this ensures that the polyglot tests use th…
ensure that tests use the driver expected for #1402
ensure that tests use the driver expected for #1402
initial checkin for #706 polyglot test fails if not built
2 remaining items
initial commit of rql tests rework
initial commit of rql tests rework
initial commit of rql tests rework
initial commit of rql tests rework
further changes on #1402, this ensures that the polyglot tests use th…
initial checkin for #706 polyglot test fails if not built
further changes on #1402, this ensures that the polyglot tests use th…
merge of #1402 make real tests friendly
merge of #1402 make real tests friendly
larkost commentedon Jun 11, 2014
Changes merged to next with commit 76b0855, and v1.13.x with commit fc6acbe.
mlucy commentedon Jun 11, 2014
^.^
larkost commentedon Jun 11, 2014
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
runandtest-runnercommands.