Giter Site home page Giter Site logo

c-cpp's Introduction

autoDiff

Automatically test many inputs to any 2 programs and compare them!

How to install

Simply add this repository to your workspace and after running for the first time 'config.py' will be created where all options can be customized.

How to run

Type into terminal python3 autoDiff.py yourfile.c

FAQ

  • my program failed a test but I'm sure it's working!
    Some tests are set to strict, meaning they have one very specific output. If you think a test failed wrongly you can either fork with a fix or let me know & I'll fix it

config.py

# file locations
REFERENCE - where reference app is locates (school colution)
coding_style - where coding app file is located
pre_submit - where presubmit app is located
DEFAULT_SOURCE - when no argument is given, run with this file

# auto test settings
auto_tester_enabled - will run autotests if all manual tests pass
OVERFLOW_ABORT - will abort testing after n failed tests (0=off)
PLACEHOLDER - a seperator string for regex
AUTO_TESTER - a regex pattern for possible inputs

# compiler settings
TO_COMPILE - list of compilable file types
COMPILED_NAME - name for temporary compiled app
UNCOMPILED_NAME - name for presubmission
TAR_NAME - tar name for presubmission

# Misc
FORCE_STRICT - will only evaluate tests strictly
PROGRESS_REPORT - will give a progress report every n tests

Known issues

c-cpp's People

Contributors

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