Skip to content

Shafaet/Test-Case-Bulk-Editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Case Bulk Editor

This repository makes it easy for problem-setters to bulk edit test-cases.

Who should use this repository?

This repository was mainly targeted to help HackerRank.com problem-setters to bulk edit test-cases. But if you can do some very very tiny modification, it can be useful for other problem-setter's too.

Why problem-setters need this tool?

Imagine you have made 30 test cases with 1-based indexing, now for some reason you need to modify them all. This script makes it as easy as just reading and writing inputs.

Example

Imagine all your test cases contains 3 integers on the same line. You need to modify the files and put them on separate lines. The screenshot below shows how to do it:

screenshot

Simple, isn't it?

How to use this tool?

  • Install a C++ compiler in your computer.
  • Clone the repository
  • Put your input files in input directory, by default they must be named input00.txt, input01.txt, input02.txt etc.
  • Open Main.cpp in your favorite IDE.
  • Modify the editInput method. There are comments and examples in the cpp file to help you out.

** Code of this repository contains C++11 feature. If your compiler is in C++03 mode you need use the flag -std=c++11 while compiling.**

FAQ

  • My input file names are not like the default names. What should I do?

    • You can just change the Folder or File Prefix from the 'Default File Folder Names' portion at the top.

Contribute

Have an awesome improvement idea? Fixed a bug? Feel free to make a pull request.

Contact

Email: [email protected]

Blog

Releases

No releases published

Packages

No packages published

Languages