Metadata-Version: 1.1
Name: iospec
Version: 0.3.12
Summary: Lightweight markup for the description of running sessions of input/output based programs in the context of an online judge
Home-page: UNKNOWN
Author: Fábio Macêdo Mendes
Author-email: fabiomacedomendes@gmail.com
License: UNKNOWN
Description: .. image:: https://travis-ci.org/fabiommendes/iospec.svg?branch=master
            :target: https://travis-ci.org/fabiommendes/iospec
        
        .. image:: https://coveralls.io/repos/github/fabiommendes/iospec/badge.svg?branch=master
            :target: https://coveralls.io/github/fabiommendes/iospec?branch=master
        
        The IoSpec format is a lightweight markup for specifying the expected inputs and
        outputs for running a program in an online judge setting. It is designed to be
        unobtrusive in the simple cases, while still having some some advanced
        features. This package defines the IoSpec format and provides a Python parser
        for it.
        
        
        Basic syntax
        ============
        
        A basic session of an input/output based program running on an
        online judge is specified like this:
        
        .. code-block:: text
        
            Say your name: <John>
            Hello, John!
            
        In this example, the string between angle brackets is considered to be an input
        and everything else is the expected output. Different runs should be separated by 
        blank lines:
        
        .. code-block:: text
        
            Say your name: <John>
            Hello, John!
            
            Say your name: <Mary>
            Hello, Mary!
        
        We call each of these runs an iospec "test case". The above example is declaring an
        interaction in which given the input ``John``, the program should print ``Hello, John!``
        while in the second run, when the input will be ``Mary``, and the program will print
        ``Hello, Mary!``.
        
        A IoSpec source file consists of any number of test cases and some special
        blocks and directives that will be discussed afterwards.
        
        This example is just the surface: IoSpec syntax has commands to define automatic
        inputs, capture patterns, execution errors and more! Check the manual if you
        want to learn more.
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries
