Comments (4)
@dabreegster, with the addition of some docs explaining an approach for
- running tests: from
cd
tocargo test
, - comparing and updating the goldenfiles, and
- adding a new test (doing the goldenfile update pattern I guess),
I am happy to call the test suite "started", close this issue, and hack whatever I need on top of the existing tests, as I need them.
from osm2streets.
@dabreegster, have you thought about [generating test from resource files using build scripts]? or test-generator
?
It would be a nicer experience to have each test file be it's own test. Then slicing and dicing of tests, and locating the source of the failing test, and treating tests independently, etc. is all handled by the test runners. (My IDE is a testrunner too, with "rerun failed" and all sorts of different things).
from osm2streets.
A separate test per directory would be ideal, I didn't look into it yet. That crate looks like it could work nicely!
So my TODOs:
- rename cfg.json -> test.json and output.json -> raw_map.geojson
- docs
- split tests
from osm2streets.
The very promising tests
crate hits the nail on the head, testing multiple projects under the same roof.
from osm2streets.
Related Issues (20)
- is_sidepath proposal review HOT 2
- Stop plumbing osm_tags through HOT 3
- Simplify the early stages of creating a `StreetNetwork` from OSM data HOT 6
- Simpler osm2lanes editor HOT 6
- Intersection geometry refactor HOT 15
- Determine road geometry before path geometry HOT 4
- `GenerateIntersectionGeometry` makes existing intersections larger HOT 2
- Versioning HOT 2
- Experiment with curb data
- Prioritization exercise: make one area "perfect" HOT 4
- Propagating changes HOT 4
- Switch to Vite + NPM? HOT 1
- Remove experimental, keep graphviz
- Draw turn restrictions
- Stop lines HOT 5
- Some tests in AU have the wrong driving side HOT 3
- Investigate TopoJSON and/or MapShaper
- placement position names (right_of:1) should ignore sidewalks HOT 1
- Make StreetNetwork implement Send
- Degenerate geometry breaks at sharp angles
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osm2streets.