Main Servirtium site: http://servirtium.dev
Servirtium == Service Virtualized HTTP (for Java) in a record/playback style, with plain Markdown recordings
Utilization of "Service Virtualization" is best practice towards fast and consistent test automation. This tech should be used in conjunction with JUnit/TestNG, etc. Versus alternate technologies, Servirtium utilizes Markdown for recorded HTTP conversations, which aids readability allows for diffing to quickly determine if contracts are broken. That last is an important aspect when Service Virtualization is part of a Technology Compatibility Kit
dependencies:
servirtium:
git:
url: https://github.com/servirtium/servirtium-dart.git
path: servirtium
import 'package:servirtium/servirtium.dart';
# TODO
# TODO
brew tap dart-lang/dart
brew install dart
dependencies:
servirtium:
git:
url: https://github.com/servirtium/servirtium-dart.git
path: servirtium
import 'package:servirtium/servirtium.dart';
cd example
pub get
pub run test --reporter expanded --concurrency=1
For complete dart example see our World Bank ClimateAPI demo project.
There is also example in the project too.