Git Product home page Git Product logo

x-common's Introduction

x-Common

Shared metadata for Exercism exercises.

Contributing Guide

Please see the contributing guide

Test Data Format

Each problem can have a file <problem>.json containing standard test data. This data can be incoporated into test programs manually or extracted by a program. The file contains a single JSON object with a key for documentation and keys for various tests that may be meaningful for a problem.

The documentation uses the key "#" with a list of strings as the value. These strings document how the problem readme (<problem>.md) is generally interpreted in test programs across different languages. In addition to a mainstream implementation path, this information can also document significant variations.

Each test uses a key name representative of the test and an object as the value. This object has two keys, "Description" and "Cases". Description has a list of strings as its value. Cases has a list of objects as its value. Each case object represents a separate test case. A case object should have a description field and fields for inputs and outputs. A test case description should be a short phrase, suitable to be included in an error message.

License

The MIT License (MIT)

Copyright (c) 2014 Katrina Owen, [email protected]

x-common's People

Contributors

alpardal avatar anthonygreen avatar austinlyons avatar betegelse avatar clashthebunny avatar douglasbrunner avatar driest avatar eightbitraptor avatar etrepum avatar fluxusfrequency avatar henrik avatar hrj avatar jeremy-w avatar jrdnull avatar kytrinyx avatar legalizeadulthood avatar lindsaylevine avatar locks avatar lsimoneau avatar matthewrankin avatar patbl avatar pavling avatar pminten avatar prathamesh-sonpatki avatar seeflanigan avatar sjakobi avatar soniakeys avatar teapane avatar verdammelt avatar vosechu avatar

Watchers

 avatar  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.