Giter Site home page Giter Site logo

luckymcbeast / kotmock Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 79 KB

A simple mocking library for Kotlin/Native and Kotlin/JVM with the goal of being Native-first with no dependencies other than Kotlin itself.

License: MIT License

Kotlin 100.00%
integration-testing kotlin kotlin-native mock mocking-framework mocking-library testing unit-testing

kotmock's People

Contributors

luckymcbeast avatar

Stargazers

 avatar

Watchers

 avatar

kotmock's Issues

Create Installation Instructions

User Story:
As a developer using KotMock, I want to easily install the library on a new or existing project, whether I'm using Maven, Gradle, or Gradle's Kotlin DSL.

  • Add installation instructions with Gradle Kotlin DSL
  • Add installation instructions with traditional Groovy-based Gradle
  • Add installation instructions with Maven XML

Perform Code Analysis and Refactor as Needed

Requirements

  • Review existing code base and make necessary improvements to improve quality
  • Ensure tests are named properly, are testing "the right thing," and that all behavior is covered
  • Complete any existing TODOs in the codebase
  • Ensure that methods belong to the appropriate class

Implement existing logic for JVM

User Story:
As a Kotlin developer, I want to be able to use KotMock on the JVM.

Requirements

  • Port Kotlin/Native code to Kotlin/JVM using Kotlin Multiplatform
  • Ensure KotMock works well with JUnit
  • Upon completion, deploy to Maven Central as SNAPSHOT

Provide documentation on usage

User Story:
As a developer, I want to quickly and completely understand the libraries I use.

Requirements:

  • Provide high level overview of general usage and design choices in README.md
  • Explain how to mock an interface in README.md
  • Explain how to use whenever in README.md with suggested syntax and alternatives
  • Explain how to use verify in README.md

Add optional arguments to whenever method

User Story:
As a developer, I want to specify the arguments that were provided to a function when stubbing using whenever, though I do not want to be forced to do so.

Requirements:

  • Allow args to be optionally provided to whenever method
  • if args are provided, args must match

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.