Giter Club home page Giter Club logo

tc-passthrough-testing's Introduction

tc-passthrough-testing

Enables simpler functional testing of Terracotta entities via pass-through communication.

Uses of Passthrough

The benefit of this implementation of the Terracotta API is that is allows development and basic testing of entities and services, purely in-process.

This dramatically shortens the development cycle when initially building an entity or service since a full packaging and deployment is not required.

Additionally, this allows debugging problems in a single process instead of across several.

Limits of Passthrough

The passthrough server is purely single-threaded, meaning that it can't be used to test concurrent execution within entities.

In the case of any behavioral difference between passthrough and the reference implementation of the server (found in terracotta-core repository), the reference implementation is considered the more correct interpretation.

Passthrough does not read Terracotta server config files but must be manually configured.

Passthrough does not isolate entity types or services within their own classloaders.

Concerning bugs found in Passthrough

Before opening a bug against passthrough, ensure that the test in question does work as expected on the reference implementation.

Even in the case where there is a difference in behavior between passthrough and reference, it may not be feasible/valuable to fix it. While this tool provides value, it has no explicit support.

In the cases where API-defined contract is violated or substantial concepts are improperly handled, this is likely to be fixed in passthrough. In the cases of subtle behavioral differences or limits of its capabilities (such as the aforementioned single-threaded nature), the bug will likely be closed with only clarification as to the reason why the problem exists.

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.