graphql-engine/v3/crates/engine/tests
Daniel Chambers 962ae79e99 Move AggregateExpression resolve tests from engine tests to metadata-resolve tests (#714)
## Description
This PR moves all the tests that were added to
`crates/engine/tests/validate_metadata_artifacts/aggregate_expressions`
to the metadata-resolve `metadata_golden_tests`.

All the `error.txt` files got renamed to `expected_error.txt` and the
`metadata is not consistent:` bit on the front of the error got trimmed
off.

I had to change the way that `test_failing_metadata` works so that
instead of looking for directories under `failing/` it looks for
`metadata.json` files under `failing/`. This is because not every
directory has a test in it, some directories are just used for grouping
(eg `failing/aggregate_expressions/`). This doesn't change what tests
get run. The only side effect is that every test name has `_metadata`
suffixed to it (the filename). 😢 `test-each` doesn't appear to offer a
way to disable this behaviour.

V3_GIT_ORIGIN_REV_ID: dece7cd3bb4623c51050d12471d2c0990fd69bfd
2024-06-13 08:20:21 +00:00
..
execute Aggregates Root Field - Part 3: GraphQL API (#685) 2024-06-12 09:02:12 +00:00
explain Rename "source" to "sourceType" for "kind": "Relationship". (#531) 2024-04-30 17:21:07 +00:00
ndc-postgres-configuration Resolve nested object boolean expressions (#680) 2024-06-11 12:57:21 +00:00
validate_metadata_artifacts Move AggregateExpression resolve tests from engine tests to metadata-resolve tests (#714) 2024-06-13 08:20:21 +00:00
auth_config.jsonschema Remove duplicate JSON Schema entries (#692) 2024-06-11 08:28:30 +00:00
chinook-postgres.sql Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
common.rs Semicolons, everywhere! (#700) 2024-06-11 15:33:32 +00:00
db_definition.sql Resolve nested object boolean expressions (#680) 2024-06-11 12:57:21 +00:00
execution.rs Aggregates Root Field - Part 3: GraphQL API (#685) 2024-06-12 09:02:12 +00:00
explain.rs Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00
finish.sql Speed up debug builds in Docker. (#484) 2024-04-22 13:43:29 +00:00
introspection.rs Aggregates Root Field - Part 3: GraphQL API (#685) 2024-06-12 09:02:12 +00:00
relationship.rs fix remote joins nested inside local joins (#565) 2024-05-14 16:14:19 +00:00
schema.json make FieldMapping enum again (#705) 2024-06-12 02:16:36 +00:00
validate_metadata.rs Move AggregateExpression resolve tests from engine tests to metadata-resolve tests (#714) 2024-06-13 08:20:21 +00:00