Skip to content

Create a test

Cheol Ho Choi edited this page Aug 23, 2024 · 3 revisions

When you implement new functionality into OpenQP, it is a good practice to add corresponding test files. To do this:

  1. Create a JSON file by setting save_mol=true in the [guess] keyword.
  2. Create a subdirectory in the examples directory and copy both the JSON file and the input file into your subdirectory.

That’s it!

Now, if you run openqp --run_test <your_subdirectory_name>, it will execute the tests for your files.

Going back to Code Examples

Clone this wiki locally