Git Product home page Git Product logo

control's Introduction

flow

version license

last commit code quality coverage build

installation

repositories {
    jcenter()
}

dependencies {
    implementation("at.florianschuster.control:control-core:$version")
}

see changelog for versions

controller

flow

A Controller is an ui-independent class that controls the state of a view. The role of a Controller is to separate business-logic from view-logic. A Controller has no dependency to the view, so it can easily be unit tested.

info & documentation

  1. controller
  2. view
  3. transformations
  4. controller testing
  5. view testing
  6. logging

examples

  • kotlin-counter: most basic kotlin example. uses Controller.
  • android-counter: most basic android example. uses Controller from kotlin-counter.
  • android-github-search: android github repository search. uses Controller combined with Android Jetpack AAC ViewModel.

coverage

test coverage is automatically run by github actions on [push]

threshold run output
instruction/branch 90% ./gradlew test jacocoTestReport ./control-core/build/reports/jacoco/
mutation 100% ./gradlew pitest ./control-core/build/reports/pitest/

author

visit my website.

control's People

Contributors

floschu avatar

Watchers

 avatar

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.