Skip to content

servirtium/demo-dart-climate-tck

Repository files navigation

Note - The World Bank took down their climate WebAPI. Darn it. We now depend on a docker version of the same until we work out what to do long term. Docker build and deploy this locally - https://github.com/servirtium/worldbank-climate-recordings - see README

TL;DR:

docker build git@github.com:servirtium/worldbank-climate-recordings.git#main -t worldbank-weather-api-for-servirtium-development
docker run -d -p 4567:4567 worldbank-weather-api-for-servirtium-development

The build for this demo project needs that docker container running

Climate data demo app for Servirtium-Dart

Installing Dart

brew tap dart-lang/dart
brew install dart

Getting the Servirtium library

The Servirtium library is maintained in a different repo servirtium/servirtium-dart and has not yet been pushed to pub.dev (package-land for Dart/Flutter)

# TODO

Running the example

pub get 
pub run test --reporter expanded --concurrency=1

Unfortunately Dart's test-runner's output rounds test times to the second, which means you can't see precisely how fast the 'playback' tests are versus 'direct' on the console.

Get reports and analyze difference

pub run test --reporter json --concurrency=1 > output.report
dart report.dart

About

A Dart demo of Servirtium (using the World Bank's climate API)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages