Skip to main content

Test code against each other for classes

Project description

CodeChecker

Use Case

Runs a file designated _master.['py', '.java', '.cpp'] to generate a master output that can test the output of the other files in the directory. This can be used for fast comparisons for grading

Usage

in terminal

<python3> <path>_codeChecker.py

or paste _codeChecker into the directory and run it locally

The Output

Generated .csv file that will contain filename, output, expected output, matching conditions

Language Information

Python

Runs on the cpython compiler, has access to your PyPI packages if needed tests multiple commands ie ['python', 'python3', 'py', 'py3']. If .pyc files are generated they are also deleted

Java

Runs on the jvm compiler over 2 commands first generating the .class files then running them to compare outputs on the standard javac and java commands. At the end the .class files are removed

C++

Coming soon hopefully on the gcc compiler, I need to check how that works with Windows

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for static-code-checker, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size static-code-checker-1.0.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page