Git Product home page Git Product logo

contest's Introduction

Lnk2past

Hello! I am Nick, and I am a software engineer and educator. I primarily teach courses in scientific computing and data visualization.

Recently I have been focused largely on writing and improving tools I use for my classes. I also don't maintain my blog over at NESWare.io, so check it out if you want. Or don't, I have maybe half a dozen unfinished articles because I am undecisive.

I am interested in collaborating on anything dealing with simulations, dataviz, or education tools.

Thanks for stopping by!

contest's People

Contributors

lnk2past avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

yellow ojobo-tech

contest's Issues

Implement unit tests

Instead of relying on examples, implement unit tests and update GitHub Actions to exercise tests.

Allow line skipping

Offsets and counts for comparing line output should be allowed (e.g. compare only the first 10 lines of output, or 10 lines after the 1st, etc.)

Fix return-code when specified to be 0

When the return code is explicitly specified to be 0, the return-code check is skipped

The problem is at contest/TestCase.py#L142:

            if self.return_code and int(self.return_code) != proc.returncode:

should be:

            if self.return_code is not None and int(self.return_code) != proc.returncode:

Allow `resources` to be specified as a string

When specifying a resource to copy to the test folder, one must specify the src and dst, even if the name is going to be preserved. A resource should be allowed to be specified as a string, and contest should figure out the src and dst from that. i.e. allow:

# see https://github.com/Lnk2past/contest
executable: ./bin/main.exe
test-cases:
    - name: test-01
      resources:
        - data

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.