Tsjerk / Insane

INSert membrANE - A simple, versatile tool for building coarse-grained simulation systems
GNU General Public License v2.0
39 stars 24 forks source link

Regression tests work by directories #58

Closed jbarnoud closed 6 years ago

jbarnoud commented 6 years ago

Initially, regression tests would save only the gro output, the top output if any, and the standard output and error. They were saved in files that had the test name (arguments or alias) and an extension.

This commit makes each test work on a directory. Now each test has a directory as reference so we are sure we are not missing any produced file.

The reference files are identical with the previous version. The only difference is that the input files are now copied in the output reference. While this could be prevented, it does add some complexity to the code.

This is mostly to stay in line with what is done with martinize.

codecov[bot] commented 6 years ago

Codecov Report

Merging #58 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #58   +/-   ##
=======================================
  Coverage   74.27%   74.27%           
=======================================
  Files          12       12           
  Lines        1065     1065           
=======================================
  Hits          791      791           
  Misses        274      274

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 486258a...d3c9743. Read the comment docs.