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


Download files

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

Source Distribution

static-code-checker-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file static-code-checker-1.0.0.tar.gz.

File metadata

  • Download URL: static-code-checker-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6

File hashes

Hashes for static-code-checker-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f9c1264bfe31b7b6f781f2e8dc401570b11f90b783551c5b35f6396d5684a08d
MD5 d207be3528a0360e138459a2fcbbc539
BLAKE2b-256 9cf2578b648290d8b91701cfd1f7d181a53c76e8c88c9a8976b75053406b1b4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page