Ecosyste.ms: OpenCollective

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

github.com/pelias/acceptance-tests

Pelias API acceptance tests
https://github.com/pelias/acceptance-tests

Replace Gmail with Amazon SES.

output_generators/email.js, package.json
-Add `nodemailer-ses-transport` as a dependency.
-Upd...

8e7f535e0a3b6fcfd8cc9e5d9191bbe70252fbc1 authored almost 10 years ago
Rewrite the README overview.

2ec663ebf0162e9eb9dc610e78dae5ba61281a82 authored almost 10 years ago
Merge branch 'email-generator'

output_generators/(email.js, email_static/)
-Introduce an email output generator.
-Document it...

4b4655e88143a169246da1ce713cead0c23386c3 authored almost 10 years ago
Document the email generator.

README.md
-Document the different kinds of output generators (currently
just `terminal` and `e...

2a65b0133884e3f8a5b484f3b1409e074bf0e24a authored almost 10 years ago
Add a flag to specify the output generator.

test.js
-Allow the user to specify the output generator via a
command-line flag.

656cfb6e437d3ebf078d011d79de808737ba53a8 authored almost 10 years ago
Merge branch 'master' into email-generator

run_tests.js
-Pull in the latest changes, like respecting rate-limiting.

fdc815310d852097b763a4a0527b4419eda62b02 authored almost 10 years ago
run_tests.js: decrease test interval to 200ms.

run_tests.js
-Given the additional rate-limiting introduced in 72cebc6, which
made all test su...

b3a9adbb3673e7f6ff22f144e6588bb43931ed74 authored almost 10 years ago
Run tests in series.

run_tests.js
-Run tests in series, and not synchronously, to prevent
rate-limiting block-outs.

72cebc67e61a33cb491febda757386273ea8280f authored almost 10 years ago
Move module-level code into functions.

output_generators/email.js
-Move all the module-level code into `formatTestCase()` and
`emailR...

b1be5c62806b106bf9c05b16ba01bcb30255d435 authored almost 10 years ago
Read configuration from pelias-config.

output_generators/email.js
-Read auth and email configuration from pelias-config.

bcf980dd84bbdb4c168ac83eecf366e23ffea239 authored almost 10 years ago
Merge branch 'master' into email-generator

run_tests.js, test.js
-Pull in the latest from the master branch.

6c9cb61dc90d5f8fc2e14784477a9ca17bf3470e authored almost 10 years ago
Decrease reqs/s, strip URL slashes.

run_tests.js
-Decrease the number of requests per second from 10 to 5,
since 10 still incurs r...

ed7369ba35f6328dfc8439bc22b5cae7d3fe09fe authored almost 10 years ago
Add code to send an email.

output_generators/email.js
-Add all the code necessary to send test-results out in an
email.

...

f20e0b8c9d73f2e273c966f801b94bb4415ca576 authored almost 10 years ago
Move CSS into HTML template.

output_generators/email_static/(email.html, style.css)
-Move all CSS into the HTML to allow the...

36f4e1872ef0222b3898b0f768e97d7d4ec28c4d authored almost 10 years ago
Add prototype email generator.

output_generators/(email.js, email_static/(email.html, style.css))
-Add a prototype email gener...

c0aae3c8290eb3f899dd4a94ec4fb7d956a11c8b authored almost 10 years ago
Merge pull request #28 from pelias/feedback_2015-00-18-00-00-04

feedback app test cases for 2015-00-18-00-00-04

1f6e7466f618322e60e022cc7622c7419b3f81f6 authored almost 10 years ago
Update command-line usage documentation.

test.js
-Document the test-suite path parameter.

5b931dfb3c3493bd5b08a2a074ed3164af1a705f authored almost 10 years ago
Rate-limit API requests.

run_tests.js
-Now that we're expecting to deal with massive amounts of
test-cases, API request...

1326ee565a79c6debd1fa000a45299ae9255e797 authored almost 10 years ago
Feedback app test-cases for 2015-00-18-00-00-04.

3396a5d1a4d166bafbd1a9ddb22b146015054e26 authored almost 10 years ago
package.json: add devDependencies.

290e4d8e79b8ec18b41448d4be5b37ed8713ddab authored almost 10 years ago
Fix jshint complaints.

(output_generators/terminal, run_tests, test).js
-Address the minor things jshint was complaini...

017f8bb168904311268f96a442f2f73e18f3246e authored almost 10 years ago
Merge pull request #25 from pelias/test-popularity

adding a few test cases that test popularity metric

b1f2d6ed340035dd00204ef5e7c60f32b0af8ad8 authored almost 10 years ago
adding big ben and wall st

046cc61757804ab9c8db9d4bf3b9d4b11ac25213 authored almost 10 years ago
Add passing/failing feedback app test suites.

test_cases/(feedback_fail, feedback_pass).json
-Add individual test-suites for passing/failing ...

61fd8b758105d17faea1f7912a4d85e5fdd3ddca authored almost 10 years ago
Handle properties=null as placeholders.

README.md, run_tests.js
-Add proper handling for `properties: null`. The test-runner
used to c...

86fc60498f0bf85915d4f25e727e7cf0cfa43b26 authored almost 10 years ago
adding a few test cases that test popularity metric

05428810e7a040e8c4478a41373a1ded1af709a3 authored almost 10 years ago
Add a test-suite for the admin lookup.

test_cases/admin_lookup.json
-It's already got a few test cases, and thus deserves its own
tes...

8273c427cd8debf12aae640f0cc415b61ea7d750 authored almost 10 years ago
Allow test-cases to specify a Pelias endpoint.

run_tests.js
-Allow test-cases to specify a Pelias endpoint to target, rather
than always hitt...

a282941701a8c78b3ac45f094fdcb6cf689f7cb8 authored almost 10 years ago
Add a unit-test for execTestSuite().

(run_tests, test/test).js
-Add a unit test that checks whether `execTestSuite()` throws
except...

073226d58c4f1d1a2a9a150ea6c10429816d68a4 authored almost 10 years ago
Merge branch 'test-nonexistence#21'

README.md, run_tests.js
-Resolve #21. Add support for a `unexpected` property in
test-cases wh...

e2f780e0274416256e8c2a985ec6e3eb42b7929b authored almost 10 years ago
Remove example JSON from README.

README.md
-Remove example `test_cases/*` and `locations.json` JSON, as
it should be documented...

673bde650347fbe9a994ac248028be842f1e8987 authored almost 10 years ago
Make `test` npm script run unit tests.

package.json
-Make the `test` script run this package's unit tests, rather
than the acceptance...

5aa09da7edb79fefa90c1210468e781eae84dd4d authored almost 10 years ago
Add a unit-test for evalTest().

test/test.js
-Add a comprehensive unit-test for `run_tests.js#evalTest()`,
which is crucial fo...

74fdbc6a7eda8a2d2d229681f0cfbc3f7a0dd26e authored almost 10 years ago
Add unit-test for equalProperties().

(run_tests, test).js
-Update interfaces to allow unit-testing `equalProperties()`.

test/test.j...

a4393e1551d3badaae7b5db908d6311cacfd3e73 authored almost 10 years ago
Document new test-case schema in README.

README.md
-Document the latest commits, which changed the schema of
test-cases' expected prope...

25417f44719dfdb42f5e71775d11a5df9a0c7190 authored almost 10 years ago
Add unexpected test-cases validation.

run_tests.js
-Add validation for `unexpected` test-cases to
`execTestSuite()`.

0bde09f8cda2f9e96b5f3d19b6eb510b08579b6c authored almost 10 years ago
Add support for nonexistence.

run_tests.js
-More work on #21.
-Add support for an `unexpected` property, roughly analogous t...

86ae00100ae815b531a0fb54ed5dad708c3eb3c9 authored almost 10 years ago
Check for priorityThresh in new location.

run_tests.js
-The `priorityThresh` property changed location in ea8e149;
adapt the code that u...

df239136b58eb3a38223bd433050b727bb1a8ec9 authored almost 10 years ago
Remap test-suite expected objects to new schema.

test_cases/search.json
-Rewrite all test-cases' `out` objects as `expected` properties
with an...

553536e8e3c0aa6ce33a85cdca37588f3efec342 authored almost 10 years ago
Test results against multiple expected objects.

run_tests.js
-Work on #21.
-Refactor `evalTest()` to work with an array of expected
propertie...

ea8e149bc5b12fc6da20785ae543c08673707424 authored almost 10 years ago
Merge branch 'test-progress'

README.md, output_generators/terminal.js, run_tests.js
-Close #20.

33113d7eff907c9aca6b519f5502ba34712d5c00 authored almost 10 years ago
Update README test-suite/cases documentation.

README.md
-Update the documentation of test-suite/test-cases properties.
-Mention the recently...

f9838ceeb7b41042e0bd5313adf27c311d5c8923 authored almost 10 years ago
Validate all test-cases before making requests.

run_tests.js
-Move test-case validation logic outside of the loop that emits
HTTP requests, to...

8d8b5729955db28968c2650a59bd99d47a630ec5 authored almost 10 years ago
Add status properties to all test-cases.

test_cases/search.json
-Add a `status` property to all test-cases, and set it to the
current s...

38f3a19375b45895d6586fdcb814af153ca260f9 authored almost 10 years ago
Sort test-cases with string/number ids separately.

run_tests.js
-Sort string/number ids separately, to generate cleaner output
(since the number ...

32dcc8a78c9d9bac68362c9615d3659a1c82e332 authored almost 10 years ago
Tweak output colors (reserve red for regressions).

output_generators/terminal.js
-Reserve red for regressions, as per
https://github.com/pelias/a...

1938555b54adc89a9e7a3120155c0b7be0bbf65a authored almost 10 years ago
Add test progress info to output.

output_generators/terminal.js
-Clearly identify improvements/regressions (based on the changes
...

7a65f13e226f03bf6c9f42bee814b66a318b49de authored almost 10 years ago
Track test progress (improvements/regressions).

run_tests.js
-Begin work on #20: account for the expected status of each
test-case, and mark i...

7fe68446f3892e04c746d070ff45683d3fb50cdf authored almost 10 years ago
Add a test-completion counter.

run_tests.js
-Print out a counter indicating the number of completed/total
tests, to provide s...

b64fa90b303334204deebdb78f8245fa075d7a07 authored almost 10 years ago
Merge branch 'revise-output'

(run_tests, test, tests/searchTest).js
-Rewrite the test-runner and output generator to allow
...

4bd9804261333ab2f8eb07f237b0cafd49a90b48 authored almost 10 years ago
Partition test.js into another module, run_tests.js

run_tests.js, test.js
-Isolate command-line argument handling code from that which
runs test-s...

e3ad538f72c2a817bcdd928dd3e17390512b4134 authored almost 10 years ago
Remove old test script.

tests/searchTest.js
-This test script was leftover from before the re-write, and has
been repl...

b08736b1f245aa0bca44e8ff7324c5905b14f2c4 authored almost 10 years ago
Remove PELIAS_ENDPOINTS object.

test.js
-Remove the `PELIAS_ENDPOINTS` object definition with the intent
of moving it into `pe...

c0041ff03069876d80e73dc7254baec164e07a79 authored almost 10 years ago
Fix incorrect variable use.

test.js
-`apiUrl` was referenced where `commander.endpoint` should've
been. Fix. (@dianashk)

e317884e4fa14f167db0a04374bade7d80a3d87b authored almost 10 years ago
Merge pull request #19 from pelias/feedback_2015-45-11-14-45-41

feedback app test cases for 2015-45-11-14-45-41

11a3a5d52221cf88740aae3a4b50924fa433e8db authored almost 10 years ago
Feedback app test-cases for 2015-45-11-14-45-41.

482c867ef183e654fca7da652869c0e1b90354fd authored almost 10 years ago
Move function to new location in file.

test.js
-Move the `execTestSuites()` function higher up into the file
for greater readability.

6da8486ad920b988d793a25a4198db2126b0bb72 authored almost 10 years ago
Move terminal output generator to own module.

output_generators/
-Create a directory to contain all output generator modules for
test-suite ...

04b7a7b499f04b100924d619314688590eea9fbb authored almost 10 years ago
Separate results collection from output generation.

test.js
-Further separate test-results collection from the output
generation.
-Move all termi...

1cd600b1aa110e7f1b4cb961b22b930040f2d78b authored almost 10 years ago
Replace hard-coded URL with variable.

test.js
-A hardcoded URL was left-over. Replace it with `apiUrl`, as
it's meant to be configur...

07c31158c5d788fc36ad1687aa1bcf0c42b53e73 authored almost 10 years ago
test.js: update runTests() documentation comment.

diff --git a/test.js b/test.js
index 5646ef4..c82179b 100644
--- a/test.js
+++ b/test.js
@@ -156...

64c7991340b650910d43c50b10188b8df9e32bf6 authored almost 10 years ago
Make missing `out` handling more robust.

test.js
-Identify test-cases without an `out` at all as placeholders.

9949e1a13dd98dc8dccc68923231c8268e67eff6 authored almost 10 years ago
README: add usage documentation, fix indentation.

README.md
-Document the new tool's usage.
-Code-blocks were superfluously indented an extra le...

33c87f434cec69f125bfd793a39c9bd8dde27ea1 authored almost 10 years ago
Fix API endpoint argument bug.

test.js
-An incorrect property was being used as the API endpoint name
in `runTests()`.

2b9581a8dde1da13face932ac830af10cd5b5e54 authored almost 10 years ago
package.json: update package dependencies.

14b39d5343593e5b21582a419bcb12f08b8d9669 authored almost 10 years ago
Improve arg handling with commander.

test.js
-Use the `commander` package for more robust argument handling.
-Allow the user to spe...

29b193caffc4873cdd2dda42a7f1a2d163e38ac6 authored almost 10 years ago
Move location.json to project root.

test_cases/locations.json -> locations.json
-Move the `locations.json` file to the project root...

8f8c30363a8205440f054f01d9229f0cb8805f45 authored almost 10 years ago
Add documentation comments to test.

test.js
-Add documentation comments to all functions and the module
header.

26b5083768177d44319b99951278a7ca7bcc1e6b authored almost 10 years ago
Add endpoint selection via arguments.

test.js
-Allow the user to select an endpoint via command-line args.

4ea1cc0793dbcf3221dac33f06fcb4298601382c authored almost 10 years ago
Move top-level code into runTests() function.

test.js
-Move all code at the module level into a function,
`runTests()`, that runs on execution.

442a332dbe37eaa23f7d9b412cfa28f37aea3ec2 authored almost 10 years ago
Clean up prettyPrintResult(). Indent output.

test.js
-Print out API url and test-suite name.
-Indent all per-suite output, to make parsing ...

268b6bfde694477fde6e1145c16ded3769cbf78c authored almost 10 years ago
Add simple test stats collection.

test.js
-Collect some simple statistics about each test run, like the
number of passing/failin...

7bc1b35c8a9489e0190854a88451da9b97826676 authored almost 10 years ago
Define prettyPrintResult().

test.js
-Define `prettyPrintResult()`, to prettily format and print
individual test results.

5be693d6a89ce6312c03b575ca1c2546117b96a1 authored almost 10 years ago
Collect test results and pass them to a callback.

test.js
-Make `execTestSuite()` collects the results from each test, and
pass them to a callba...

389d3c07f5e25f1c94f6246947b2b2396272a895 authored almost 10 years ago
Add prototype test result reporting.

test.js
-Flesh out `evalTest()`.
-Execute test-cases and report their results.

8fb814f0aeec0f36c01972a4b26fbb5988375d82 authored almost 10 years ago
Merge pull request #9 from pelias/test-admin-analyzer

adding acceptance test cases for queries that has street address followed by admin info

d0c44b9ee33377be0977551a7f31aae04074b82d authored almost 10 years ago
updated test cases and adding a few new ones that tests admin value seperated by comma

Conflicts:
test_cases/search.json

503792ef8c8d86a6f814d03fc5700cdafbdebb9e authored almost 10 years ago
Add an experimental new output generator.

test.js
-Add a (totally broken/WIP) script to generate new output.

89ebe635e0add9d67123198f87dfe08ebd549032 authored almost 10 years ago
adding acceptance test cases for queries that has street address followed admin info (sperated by a comma)

b47053ee77d2c70114afacb55e0bf3acb8ae768b authored almost 10 years ago
Merge pull request #7 from pelias/feedback_2015-03-05

feedback app test cases for 2015-03-05

e826d1a4fd0f882999e658693bd6eac199fb805d authored almost 10 years ago
test_cases/search.json: Up "Prospect Park" priorityThresh.

2faa3af8ac55758035f780aa66d759f4488934d4 authored almost 10 years ago
Feedback app test-cases for 2015-03-05.

055ec62757ca17a892e861ff8dfb056c4dd2a313 authored almost 10 years ago
Merge pull request #2 from pelias/placeholder-tests

immediately error on placeholder tests

1ddb9e5166f456ed09bc222be656c189c80ce1a5 authored almost 10 years ago
Refactor expected-lookup matching into a function.

tests/searchTest.js
-Move the code that matches a test-case's `out` property to a
properties o...

c3d330a4c46fab23d6adad78757a99c79ee387ea authored almost 10 years ago
Immediately error on placeholder tests.

tests/searchTest.js
-The automated test-exporting provided by `pelias/feedback`
introduces a n...

3ae55bf5276aa556f328d9b33fd4750d3dd412d7 authored almost 10 years ago
Initial commit

4ddcbe56a1d45a8411f4cedb6b1484f162e7b2bd authored almost 10 years ago