Skip to content

encrypted-jpg/cpp_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPP TESTING

Testing CPP Files with multiple Test Cases at Once

Requirements

  • Python Requirements are in requirements.txt file.
  • To Run CPP Files cpp (g++) compiler is needed.

How to Use

  • To Run the Code after installing the Requirements, use the command python manage.py runserver to start Django server.
  • To Get Started Upload a CPP File.
    • To use the previously uploaded file instead of uploading again, you can just check the "Use the previous file" Checkbox.
  • To Test the Code
    • For testing code with manually given test cases, enter the input and expected output for each test case in the corresponding textbox.
      • To Add Test Case click on the "Add Test Case" button to get a new row.
    • Instead of entering the test cases manually, you can get the test cases directly from the "CODEFORCES" site by entering the valid URL of that corresponding problem.
      • To test the code with the test cases from the site only, you need to reset the table every time you test the code, otherwise you will see repetitions.
    • For testing code both with manually given test cases and from the "CODEFORCES" site, you need to enter the input and expected output for each test case in the corresponding textbox and the Valid URL of the corresponding problem.
  • Compilation Errors and Invalid URL Errors will be displayed if exists after clicking "Test Code" button.
  • When viewing the Results of testing, to view the tested code, click on "Selected File" button.

About

Testing CPP Files for competitive programming

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published