Repository navigation
Releases: Mohit427/cp-test-runner
Releases · Mohit427/cp-test-runner
Release list
v0.1.0
CP Test Runner v0.1.0 (initial release)
Run your C++ solution against sample tests in one click, with a live results panel inside VS Code.
Features
- Compiles the active
.cppfile with g++ and runs it on every saved sample - Clear verdicts per test: PASS, FAIL, TLE (time limit exceeded), RE (runtime error)
- Side-by-side expected vs actual output with differing lines highlighted
- Add, edit, and delete samples directly in the results panel
- Full compile error output shown in the panel
- Samples stored as plain
.in/.outfiles next to your solution, easy to keep in Git - Windows line endings and trailing whitespace never cause false failures
Requirements
g++available on your PATH
Install
- Download
cp-test-runner-0.1.0.vsixbelow - In VS Code: Extensions,
...menu, Install from VSIX... - Open a
.cppfile and run CP Test Runner: Run Against Samples (or pressCtrl+Alt+R)
Known limitations
- C++ only (compiled with
-O2 -std=c++17) - Fixed 2 second time limit per test
- Samples are entered manually