aiidateam / aiida-testing

A pytest plugin to simplify testing of AiiDA plugins.
MIT License
5 stars 6 forks source link

👌 Parse test name to mock executable #66

Closed chrisjsewell closed 1 year ago

chrisjsewell commented 1 year ago

Can be useful for the hash hook (and if we want to add a hook to dump inputs with no cache-hit)

chrisjsewell commented 1 year ago

I guess you are also planning of using it?

So in terms of the hashing: I was thinking to use it for https://github.com/lsmo-epfl/aiida-lsmo/pull/108; to read in and manipulate the .xyz file, only for the specific test that was failing. But for now I've just gone for a more simple fix.

For outputting input files for failed cache hits (not yet implemented), it would certainly be useful though; to put them in an output folder based on the test name.