Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pelias/fuzzy-tester

A fuzzy testing library for geocoding
https://github.com/pelias/fuzzy-tester

Use forEach instead of recurisve function

f67ea8246b8f3fe8b1583fa8db16b9c284d45eb5 authored about 9 years ago by Julian Simioni <[email protected]>
Move colors module include to output generators

a43d8a17bf11e3554c30cdc3e56a01ccefe8969f authored about 9 years ago by Julian Simioni <[email protected]>
Clarify global nature of stats object

93d72746c204f61261bc0bfbba6c4bf6b0a0cf50 authored about 9 years ago by Julian Simioni <[email protected]>
Separate config parsing, test running, and output generating

42902ff782d7cb2d16a48608c49951b26dfcf882 authored about 9 years ago by Julian Simioni <[email protected]>
Use generic variable name in ExecTestSutes

The callback function doesn't have to be use for an output generator as
it was previously named.

1c2a7750301d1357f72f5cab5a402c663b2bfc5b authored about 9 years ago by Julian Simioni <[email protected]>
Improve help output and simplify help code

cfbdb2aaa68f1c0a573b2ef0d8e3434d59934dc6 authored about 9 years ago by Julian Simioni <[email protected]>
Simplify finding of test files

719f0fa70fb2092e18b7a0f4fd227dedfeb81c02 authored about 9 years ago by Julian Simioni <[email protected]>
Extract methods used in execTestSuites

7dd1c53ea14357e836341279a127220f372b96d2 authored about 9 years ago by Julian Simioni <[email protected]>
Extract retry logic to function

65659ec69a8fa670a4b81f87d87d9753bdceb3cf authored about 9 years ago by Julian Simioni <[email protected]>
Nest enpoint name and url in a single object

This helps reinforce that they are related

7aa07ba0c07fd9295bb9c038b9624815cf489733 authored about 9 years ago by Julian Simioni <[email protected]>
Use return code from output generators

The return code is used as the return code for the entire process.
Previously each output genera...

29b5def69d87c3e16ce59e11ae3d9979faa277ee authored about 9 years ago by Julian Simioni <[email protected]>
Calculate running time in analyze_results

58c933425e07fa9d2d41fcbcd46807b27b7b6cff authored about 9 years ago by Julian Simioni <[email protected]>
Fix indentation

cd6f44e2fd4fd70cca8eea7528afc318d6aa0cdc authored about 9 years ago by Julian Simioni <[email protected]>
Remove ExponentialBackoff module

The `request_urls` module uses the
[HTTP.Agent](https://nodejs.org/api/http.html#http_class_http...

bcb8e234e121a05af8881727ea0a902ff0a66a45 authored about 9 years ago by Julian Simioni <[email protected]>
Remove old files

The functionality that used to be in these files is now separated more
cleanly into many other f...

c30bb580af8105f6428df43dd75a206b4d421d39 authored about 9 years ago by Julian Simioni <[email protected]>
Improve comments in main program body

d1d362e15c0f1f6e694cc3079637fc88e61e58b1 authored about 9 years ago by Julian Simioni <[email protected]>
Use getLocations from test_suite_helpers

0d3d19ca6a523e07fd29a01f559b8067ca8d2b39 authored about 9 years ago by Julian Simioni <[email protected]>
Use helper method to print progress while fetching URLs

f85400edb340b1cbd84baa34f3a0e68687fca479 authored about 9 years ago by Julian Simioni <[email protected]>
Split test functionality into smaller files

exec_test_case.js has a lot of responsiblities now handled by smaller
more focused modules:

val...

cb11b509bf43506768c604751825cdb2b7679cd6 authored about 9 years ago by Julian Simioni <[email protected]>
Pass only config and callback to execTestSuites

629e29ea7b79426f16a8aa985fdb4858485682f3 authored about 9 years ago by Julian Simioni <[email protected]>
Rename main method of processArguments

dd4f5896402d25f6cfda958b552a132f4f0f493f authored about 9 years ago by Julian Simioni <[email protected]>
Merge pull request #26 from pelias/fix-priority-thresh

Clone object to isolate testCase settings

9587e7f1959b00d6a6a0b2f09c9a373bf9fd7c92 authored about 9 years ago by Julian Simioni <[email protected]>
Merge pull request #27 from pelias/improve_error_output_for_normalizers

Throw error when requested normalizer not found

a8bbc3eb568636568b79e34d67b40415273ce83e authored about 9 years ago by Julian Simioni <[email protected]>
Merge pull request #22 from pelias/more-normalizers

More normalizers

9fc1c0ac2c9249ede222fe9c46f7bfa15e5d40ae authored about 9 years ago by Julian Simioni <[email protected]>
Merge pull request #29 from pelias/add-import-scripts

Add test case import scripts

4bfbe40451298d0d10bc84c018ab9110e976429e authored about 9 years ago by Julian Simioni <[email protected]>
Add test case import scripts

These are used to generate fuzzy tests

795d47759947d92c5be7a7e4894e7af2769d7a4e authored about 9 years ago by Julian Simioni <[email protected]>
Use _.clone() with deep parameter

3cdbc944dbb819406f5195daacbebc668535327d authored about 9 years ago by Julian Simioni <[email protected]>
Throw error when requested normalizer not found

There was no check that a normalizer listed in a test case or test suite
actaully existed, which...

65166b240e532dd124092a889ff389b14e6116ce authored about 9 years ago by Julian Simioni <[email protected]>
Version 0.5.0

a88693fac727e462cf6706ddf0bc3ba0481a5b07 authored about 9 years ago by Julian Simioni <[email protected]>
Update changelog

f192270e85e0ba6724b1a5ec24a05790382a93b4 authored about 9 years ago by Julian Simioni <[email protected]>
Clone object to isolate testCase settings

6babba75cede7d8f7b5b63b19a37cd8db4693e81 authored about 9 years ago by Julian Simioni <[email protected]>
Fix typo Suffexes -> Suffixes

4d77827bca13f5b6668d47d78fab3f38a03d2a70 authored about 9 years ago by Julian Simioni <[email protected]>
Add Drive -> Dr to street suffix abbreviation normalizer

54f42b558fd915681118ba8500f79c44165bec64 authored about 9 years ago by Julian Simioni <[email protected]>
Merge pull request #24 from pelias/concise-diff-output

Make diff output more concise for failed tests

78e48caa8ee93cfed77a1d9851dfa1703942b682 authored about 9 years ago by Julian Simioni <[email protected]>
Update test case importer

2ad83928805011b8a65a481c473cbff7419b8bb1 authored about 9 years ago by Julian Simioni <[email protected]>
Add generic test case importer

3b8771f32ca01edbdc5a9fe362fccb8336ef4020 authored about 9 years ago by Julian Simioni <[email protected]>
Improve formatting function for score output

This moves all the formatting to one method, and improves it quite a
bit.

340ce486b7c2298f4270cdaf5b8d9d23d6ba737c authored about 9 years ago by Julian Simioni <[email protected]>
Remove extra level of nesting from diff

b179096617e2f3c874d2361369918cf083524d0c authored about 9 years ago by Julian Simioni <[email protected]>
Make diff output more concise for failed tests

The previous output was more verbose than needed. Whe there are lots of
test, having the output ...

7c262f7604efae9e58a66e50218b85ca41215cea authored about 9 years ago by Julian Simioni <[email protected]>
Lint scripts

46102b5552cf84ebec5f73f04b1bfedf77341ab8 authored about 9 years ago by Julian Simioni <[email protected]>
Add scripts that work with fuzzy tests

17552775e2c566358b23153417f5128431560558 authored about 9 years ago by Julian Simioni <[email protected]>
Add removeOrdinals normalizer

cba134fd9adca6f97bc4c896fb88037b6a1ee532 authored about 9 years ago by Julian Simioni <[email protected]>
Add abbreviateStreetSuffexes normalizer

3fa2207828adf838ba94afc53b194a0a2842055d authored about 9 years ago by Julian Simioni <[email protected]>
Merge pull request #21 from pelias/dont-print-api-key

Remove API key from terminal output

c5a365e037f16a4bb179862c4358d6c48912f6b2 authored about 9 years ago by Julian Simioni <[email protected]>
Remove API key from terminal output

bd89e778c5e71c4a0d3d3ac5d9fcf1d1320bbbc1 authored about 9 years ago by Julian Simioni <[email protected]>
Merge pull request #19 from pelias/add-base-normalizing-functions

updates for better acceptance test support

efac5be5ad39be9a7a0947754e2996980729b03e authored about 9 years ago by Stephen K Hess <[email protected]>
uncommented julian's tests

ea33f5871f6a104191ae3d53c3eca6f2744c41d7 authored about 9 years ago by Stephen Hess <[email protected]>
added comment to explain what composeNormalizer does

c99a21ac9585cdf650d2f4f01fa7f8a00b83df35 authored about 9 years ago by Stephen Hess <[email protected]>
added support for normalizers in acceptance tests at suite and test level

added base set of normalizers

8b78e6ba485bfa87f0fe8891ecaabf4115355282 authored about 9 years ago by Stephen Hess <[email protected]>
Version 0.4.4

9328d55f991e2bb8c747aa95ec201d24b14db44d authored about 9 years ago by Julian Simioni <[email protected]>
Update changelog

cb7c49cd34840e8c050da0c441042a12e2fb9a53 authored about 9 years ago by Julian Simioni <[email protected]>
Capitalization is Important

a48f848e034ce9afbf8de993e6c16acb82c15ab8 authored about 9 years ago by Julian Simioni <[email protected]>
Remove old acceptance-test status from README

79acf9f6a085a3d9d76b2aef26ab6a1e84217687 authored about 9 years ago by Julian Simioni <[email protected]>
Merge pull request #17 from pelias/handle_db_timeouts

typo

c7399b8393b540ff6c5efc57ce6e07e1fb90ef2e authored over 9 years ago by Peter Johnson a.k.a. insertcoffee <[email protected]>
typo

e9f807dbe9d12864452a1ad3d15be6b0abbc86d0 authored over 9 years ago by Peter Johnson <[email protected]>
Version 0.4.3

a44fe2b3af77b3925d9cd2fa1de139e4bd9caeaa authored over 9 years ago by Julian Simioni <[email protected]>
Update changelog

d1563f985b8bbc83c8a07d619d19f8b7498fbc45 authored over 9 years ago by Julian Simioni <[email protected]>
handle database timeouts

cadff6228be925dc23efdf8acfbef3687935513d authored over 9 years ago by Peter Johnson <[email protected]>
Merge pull request #15 from pelias/responses

Update pelias-config version

14ccf88c274339f37d5484f3a42faa55ee3defee authored over 9 years ago by Diana Shkolnikov <[email protected]>
Update package.json

238ff9f283fbdf1352f5b71029035a2918121d8f authored over 9 years ago by Diana Shkolnikov <[email protected]>
Update pelias-config version

Fixed pelias/api#201

f83d3ea362cb69972bb705d574bb126f5f0a8db5 authored over 9 years ago by Diana Shkolnikov <[email protected]>
Version 0.4.1

4f6ecbbca14f346b2bc73296047da33a24419b42 authored over 9 years ago by Julian Simioni <[email protected]>
Add changelog entry for version 0.4.1

04331fa876d99109e9c0dc3cc21692a75cef07ed authored over 9 years ago by Julian Simioni <[email protected]>
Add version 0.4.0 changelog entry

b388f8f10ff428841fdfd8c1424529607cdff005 authored over 9 years ago by Julian Simioni <[email protected]>
Merge branch 'api-key'

f6e45d381b73432584700a8f92e947feca89000a authored over 9 years ago by Julian Simioni <[email protected]>
load api_key from config

cherry-picked from e28bf93

Conflicts:
run_tests.js
test/test.js

54d50d90ead811b70dfc4ab433ccfbc5a0f186c4 authored over 9 years ago by Peter Johnson <[email protected]>
Add maximum value to exponential backoff

7a6d5de476d9528376dc2bb19a6c2077c6fdb207 authored over 9 years ago by Julian Simioni <[email protected]>
Version 0.4.0

ae3a32951af3e063b09aaaabbc68101a445fdba3 authored over 9 years ago by Julian Simioni <[email protected]>
Merge branch 'score'

0237aada40b049d036ca22523bd6003f41f06b9e authored over 9 years ago by Julian Simioni <[email protected]>
Remove empty array and empty string values from diff

695f979bd047ec682379911b36a9067e0b9023bc authored over 9 years ago by Julian Simioni <[email protected]>
Check score recursively only if both sides are objects

Otherwise, missing sub-objects or arrays can cause an error.

61b101c784498fc3b4adc9e9f481e58e38e5425f authored over 9 years ago by Julian Simioni <[email protected]>
Add description of scores and example weights to readme

b079931ca115ace2a42ff44e292dd41893846814 authored over 9 years ago by Julian Simioni <[email protected]>
Use Tape's deepEqual instead of deep-diff

1140b1e361c0959372529f3abaed09b5c9f99eda authored over 9 years ago by Julian Simioni <[email protected]>
Handle setting default weights in one place

This creates a helper function setDefaultWeights that fully handles
setting all default weights ...

36026bb801b4ed5d3dc81d53d001b59ddccc2422 authored over 9 years ago by Julian Simioni <[email protected]>
Pass full context deeper into scoring functions

This prevents having to pass a large number of arguments all the time

a7d9b53145a9b23f11f17299684e08bd426beba7 authored over 9 years ago by Julian Simioni <[email protected]>
Build context object for each test suite and test case

This context properly adjusts locations, priorityThresh, and weights for
every individual test c...

82b804dd9d48fa7fb3b1ccd6d0476745792b5d0e authored over 9 years ago by Julian Simioni <[email protected]>
Move test case checking logic to sanitiseTestCase

Previously, it was all in eval_test and was taking up quite a bit of
space there.

cee113b90c53c6593a8b98a1569d2773ea7e38a3 authored over 9 years ago by Julian Simioni <[email protected]>
Add helpful comments

9c94d9eedc6577d77fc8bdf2e5d478d0dee3bfc3 authored over 9 years ago by Julian Simioni <[email protected]>
Use deep-diff to print details when tests fail

cb13c208982c8e7e75a5c7ad4447500f1320e7e3 authored over 9 years ago by Julian Simioni <[email protected]>
Extract testing for unexpected properties to a function

25bea1f1c8ee9c340fc44004206af3beebd8b235 authored over 9 years ago by Julian Simioni <[email protected]>
Remove unnecessary error handling

These conditions were only needed because code elsewhere wasn't properly
sanitising the test cas...

b454ba950167ec2de48ae71b46064e14bc0590df authored over 9 years ago by Julian Simioni <[email protected]>
Extract functional behavior and improve error messages for locations

b0d2d015857e7f560c722c0f9d6d2ba68f410f3e authored over 9 years ago by Julian Simioni <[email protected]>
Replace tertiary logic with if/return

This hopefully makes things a bit mroe readable

06e8949a596a5ff127a636f568197fc1c04fa136 authored over 9 years ago by Julian Simioni <[email protected]>
Add comments

4af396af109306eb294efc9a1441f4331f42804a authored over 9 years ago by Julian Simioni <[email protected]>
Extract scorePrimitiveProperty method

7da7521307ad50101b94353d7263cc115e00661a authored over 9 years ago by Julian Simioni <[email protected]>
Add message with score on test pass

This message isn't currently used, but it could be nice to display some
day.

2194e18db0bfeff884d551b88ae68d67167daf4c authored over 9 years ago by Julian Simioni <[email protected]>
Improve formatting of a big, dense array

2faabc852a2389b8775e3c09431bab997a587f83 authored over 9 years ago by Julian Simioni <[email protected]>
Add complete score functionality

This is a bit of a big commit that implements all of the score based
testing.

The expected prop...

6021cede916e0d4c028fbf6c4eb02beba7ec1dd9 authored over 9 years ago by Julian Simioni <[email protected]>
Rename reduceScores to combineScores

Reduce, while sharing a name with the method on Array, is a little
confusing not in context.

ff49245e31140f68e36192bd82363b3d77161d18 authored over 9 years ago by Julian Simioni <[email protected]>
Move more formatting logic into helper

7efab95c1c89b786e5732c738fe253e684e81077 authored over 9 years ago by Julian Simioni <[email protected]>
Whitespace

157197c1368b85d816216a293133659ae893cb44 authored over 9 years ago by Julian Simioni <[email protected]>
Add support for an array specifying property weights

5e7c53cf65629d40cecda077f65cec3907ca78ef authored over 9 years ago by Julian Simioni <[email protected]>
Add scoreProperties initial implementation

It only handles unweighted scores, and does not return any information
for error messages.

235502212ccddeea9071f6a5f251ac88d759c619 authored over 9 years ago by Julian Simioni <[email protected]>
Simplify and extract functionality to evaluate expected output

Note, this removes the functionality to distinguish priority threshold
failures.

9e0a242d2bdf308c0ca562809a7449b1d92fb566 authored over 9 years ago by Julian Simioni <[email protected]>
Remove unnecessary error check

This was needed only because some code elsewhere was not doing its job.

54f30903c3eaa264ca9d9a7d8aa61ef324b03d68 authored over 9 years ago by Julian Simioni <[email protected]>
Refactor locations substitution so it's testable

83d88f2a480883197f854b6a85efa80d3193c8cb authored over 9 years ago by Julian Simioni <[email protected]>
Test that the order of expected blocks is not important

8d7c2de541a85d6f147391500f21cfddca19757b authored over 9 years ago by Julian Simioni <[email protected]>
Merge branch 'handle-500-errors'

7701b55d087e36e329e1129ed109550db49f4bf6 authored over 9 years ago by Julian Simioni <[email protected]>
Invert if statement conditional

Positive condition first is usually easier to read

29696a90cbd699ed0676d8b8fff91674ed21188a authored over 9 years ago by Julian Simioni <[email protected]>
Count tests with HTTP errors as failures

cb35ed9aa4de390061b86c9ecbe59bd1d677575b authored over 9 years ago by Julian Simioni <[email protected]>