online-judge-tools / verification-helper

a testing framework for snippet libraries used in competitive programming
MIT License
207 stars 53 forks source link

Use `verification-helper:` comments instead of `.test.cpp` extensions to distinguish verification files #391

Open kmyk opened 2 years ago

kmyk commented 2 years ago

Description / 説明

The current implementation uses file extensions like .test.cpp to distinguish whether the files are library files or verification files.

We want to use the special comment verification-helper: URL instead to mark the file as a verification file.

Motivation / 動機

The approach with comments allows users to use arbitrary file names. This is important for some languages like Java.

Other notes / その他