Comments (8)
/cc @joecohens
from forecast.
For now these tasks excellent!
from forecast.
All but tests are done know BTW.
from forecast.
Thanks a ton @GrahamCampbell. I'm currently writing up some more content in the readme, and I will have a look at tests tomorrow. Am I able to test the app now since it has been rewritten, or will guzzle still be the death of tests?
from forecast.
Still missing a response object IMO since all the responses have the same output.
from forecast.
How do they have the same output? ->currently() and ->daily() (for example) will return different things, unless you're referring to something else.
from forecast.
@Craytor You can mock the client to test it :). I mean same keys
summary: "No precipitation throughout the week, with temperatures peaking at 70°F on Monday.",
icon: "clear-day",
data: [
{
time: 1423728000,
summary: "Partly cloudy throughout the day.",
icon: "partly-cloudy-day",
sunriseTime: 1423753469,
sunsetTime: 1423791970,
moonPhase: 0.78,
precipIntensity: 0,
precipIntensityMax: 0,
precipProbability: 0,
temperatureMin: 53.2,
temperatureMinTime: 1423749600,
temperatureMax: 66.93,
temperatureMaxTime: 1423785600,
apparentTemperatureMin: 53.2,
apparentTemperatureMinTime: 1423749600,
apparentTemperatureMax: 66.93,
apparentTemperatureMaxTime: 1423785600,
dewPoint: 51.14,
humidity: 0.76,
windSpeed: 3.78,
windBearing: 39,
visibility: 8.33,
cloudCover: 0.44,
pressure: 1021.24,
ozone: 275.16
}
]
from forecast.
So, I would like to finish this up - and add tests. Any suggestions?
/cc @joecohens @GrahamCampbell
from forecast.
Related Issues (1)
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 forecast.