GithubHelp home page GithubHelp logo

servirtium / servirtium-dart Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 85 KB

A Dart version of Servirtium

Home Page: https://servirtium.dev/

License: BSD 3-Clause "New" or "Revised" License

Dart 100.00%
service-virtualization mock-server dart mocking-framework testing-tools test-automation test-doubles servirtium tck

servirtium-dart's Introduction

Main Servirtium site: http://servirtium.dev

A Servirtium library for Dart

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

Usage

Add Servirtium to your pubspec.yaml

dependencies:
 servirtium:
   git:
     url: https://github.com/servirtium/servirtium-dart.git
     path: servirtium

Import

import 'package:servirtium/servirtium.dart';

Playback of previously recorded interactions

# TODO

Recording interactions

# TODO

Installing Dart

brew tap dart-lang/dart
brew install dart

Usage

Add servirtium to your pubspec.yaml

dependencies:
 servirtium:
   git:
     url: https://github.com/servirtium/servirtium-dart.git
     path: servirtium

Import and start using

import 'package:servirtium/servirtium.dart';

Running the example

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

Further reading

For complete dart example see our World Bank ClimateAPI demo project.

There is also example in the project too.

servirtium-dart's People

Contributors

hemanthrajv avatar khaleelsh avatar paul-hammant avatar

Watchers

 avatar  avatar  avatar  avatar

servirtium-dart's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.