File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -304,16 +304,6 @@ else
304304 @echo "Warning: Clouseau is not enabled, \`elixir-search\` cannot be run."
305305endif
306306
307- .PHONY : elixir-test-search-props
308- elixir-test-search-props : export MIX_ENV=integration
309- elixir-test-search-props :
310- @dev/run " $( TEST_OPTS) " -n 1 -q -a adm:pass \
311- --enable-erlang-views \
312- --no-join \
313- --locald-config test/elixir/test/config/test-config.ini \
314- --erlang-config rel/files/eunit.config \
315- --no-eval ' mix test --trace --only search_props $(EXUNIT_OPTS)'
316-
317307.PHONY : elixir-source-checks
318308# target: elixir-source-checks - Check source code formatting of Elixir test files
319309elixir-source-checks : export MIX_ENV=integration
Original file line number Diff line number Diff line change @@ -274,16 +274,6 @@ else
274274 @echo "Warning: Clouseau is not enabled, `elixir-search` cannot be run."
275275endif
276276
277- .PHONY: elixir-test-search-props
278- elixir-test-search-props: export MIX_ENV=integration
279- elixir-test-search-props:
280- @dev\run "$(TEST_OPTS)" -n 1 -q -a adm:pass \
281- --enable-erlang-views \
282- --no-join \
283- --locald-config test/elixir/test/config/test-config.ini \
284- --erlang-config rel/files/eunit.config \
285- --no-eval 'mix test --trace --only search_props $(EXUNIT_OPTS)'
286-
287277.PHONY: elixir-source-checks
288278# target: elixir-source-checks - Check source code formatting of Elixir test files
289279elixir-source-checks: export MIX_ENV=integration
Original file line number Diff line number Diff line change 5252 ],
5353 "RegexVsTextIndexTest": [
5454 "regex works with text index"
55+ ],
56+ "NumStringTests": [
57+ "single floating point test"
5558 ]
5659}
Original file line number Diff line number Diff line change 1- defmodule BasicTextTest do
1+ defmodule NumStringTests do
22 use PropCheck
33 use CouchTestCase
44
55 @ moduletag :search_props
66 @ db_name "changeme-proptest-db"
7-
7+
88 property "test floating point value" ,
99 numtests: 1_000 do # takes about 10 seconds
1010 MangoDatabase . recreate ( "/#{ @ db_name } " )
You can’t perform that action at this time.
0 commit comments