Skip to content

Commit bfb1e78

Browse files
committed
Switch to new file name
1 parent 8e4c10a commit bfb1e78

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

test/Clojure_json-path.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# This file was generated by src/compile_regression_suite.sh from https://github.com/cburgmer/json-path-comparison/
2-
# You probably don't want to change this manually but rather trigger a rebuild in the upstream source.
1+
# This file was generated by src/compile_implementation_report.sh from https://github.com/cburgmer/json-path-comparison/
2+
3+
# This file tracks all results of the given implementation for queries which the implementation either does not match
4+
# an existing consensus or where no consensus exists.
5+
# It can be used to track changes in the underlying implementation and complements the regression report.
36

47
implementation: Clojure_json-path
58
queries:

test/json_path/test/regression_test.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
(let [non-consensus-query-ids (->> (queries_from_suite "test/Clojure_json-path.yaml")
2424
(map :id)
2525
set)]
26-
(->> (queries_from_suite "test/consensus.yaml")
26+
(->> (queries_from_suite "test/regression_suite.yaml")
2727
(remove (fn [{id :id}] (contains? non-consensus-query-ids id)))
2828
(map (fn [{:keys [id] :as query}]
2929
(testing id
@@ -51,7 +51,7 @@
5151
;; recorded results which however are not backed by a consensus based
5252
;; on https://github.com/cburgmer/json-path-comparison
5353
(deftest warning-on-changes-for-non-conforming-queries-based-on-consensus
54-
(let [all-queries (queries_from_suite "test/consensus.yaml")
54+
(let [all-queries (queries_from_suite "test/regression_suite.yaml")
5555
query-lookup (zipmap (map :id all-queries)
5656
all-queries)]
5757
(->> (queries_from_suite "test/Clojure_json-path.yaml")

test/consensus.yaml renamed to test/regression_suite.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# This file was generated by src/compile_regression_suite.sh from https://github.com/cburgmer/json-path-comparison/
2-
# You probably don't want to change this manually but rather trigger a rebuild in the upstream source.
2+
# You probably don't want to change this manually.
3+
4+
# This file contains all queries implemented by the comparison and holds all consensus results where such a
5+
# consensus exist.
6+
# It can be used to track regressions in implementations. This file can be complemented with the report specifically
7+
# generated for each implementation.
38

49
queries:
510
- id: array_index

0 commit comments

Comments
 (0)