Giter VIP home page Giter VIP logo

orvar's Introduction

Clone

git clone --single-branch --branch windows https://github.com/Oskang09/orvar.git

Readme

Orvar

Documentation: Type of enzyme test coverage:

  • functions: check if the return value from function matches expectation
  • branches: every outcome from a code module is tested. For example, if the outcomes are binary, you need to test both True and False outcomes. (if else)
  • Statement: Statement coverage is a white box test design technique which involves execution of all the executable statements in the source code at least once
  • lines: Make sure every line is run without error

Assummed TDD flow:

  1. Come our with basic MVP wireframe
  2. Function test:
    • Write out expected functionality
    • create function
    • feed in hardcoded data and output result
    • test whether funtion return expected result
    • work on the function logic
    • run test script again to make sure things work
  3. Branches test
    • Define all the possible branches (if else switch case)
    • write out all the cases
    • hard code all the cases
    • feed in hardcoded data and output result
    • make sure each and every branch have their own test
    • run some sample use case to make sure it is working correctly

======

orvar's People

Contributors

jbterrylin avatar tienping avatar akashaf avatar oskang09 avatar kelvin960606 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.