Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test-cases for geonames categories. #46

Merged
merged 6 commits into from
May 12, 2015
Merged

Conversation

sevko
Copy link
Contributor

@sevko sevko commented May 8, 2015

Add test-cases for pelias/geonames#22.

fixes pelias/geonames#20

test_cases/categories.json
    -Add a bunch of test-cases for the addition of categories to
    GeoNames data (see [0]).
    -They aren't actually usable until the API can return
    categories, so must wait until [1] gets merged.

0: https://github.com/pelias/geonames/pull/22
1: https://github.com/pelias/api/pull/122

test_cases/categories.json
	-Add a bunch of test-cases for the addition of categories to
	GeoNames data (see [0]).
	-They aren't actually usable until the API can return
	categories, so must wait until [1] gets merged.

0: pelias/geonames#22
1: pelias/api#122
sevko added 5 commits May 11, 2015 14:48
Pull in the latest of master, to take advantage of the changes to
`run_tests.js` that make it correctly check object/array equality (which
is necessary for the new categories test-cases).
test_cases/categories.json
	-The order of the elements of the `category` array in some
	test-cases mismatches that of the corresponding search results,
	even though the expected elements are there. This is a non-issue
	since `category` order doesn't matter, so simply change the
	element order to make the culprit test-cases pass.
test_cases/(feedback_pass, search).json
	-Merge the latest test-case updates to master, so that, when
	running the full test suite with the new geonames categories
	tests added in this branch, there aren't any unexpected
	failures.
test_cases/categories.json
	-Change the `academic` category to `education`, as per
	pelias/geonames@7219cce.
test_cases/categories.json
	-Change the order of elements in a `category` array.
sevko added a commit that referenced this pull request May 12, 2015
Add test-cases for geonames categories.
@sevko sevko merged commit 26dde87 into master May 12, 2015
@sevko sevko removed the in progress label May 12, 2015
@orangejulius orangejulius deleted the geonames-categories branch April 7, 2016 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

map FeatureClass and FeatureCode to the pelias taxonomy
1 participant