RMI-PACTA / pactaCore

Tools to Calculate Climate Targets for Equity and Corporate Bond Portfolios
Other
0 stars 1 forks source link

Test test test before refactoring the pacta code #27

Closed maurolepore closed 3 years ago

maurolepore commented 3 years ago

So far we've been careful to not change anything in the pacta source code. But we will soon as we no longer have ties with PACTA_analysis and plan to build an R package. Before that we need a regression test.

Maybe we can snapshot the tree of ../output after calling run_pacta(). We could do this locally or in GH Actions.

jdhoffa commented 3 years ago

I think that our first test should be a very brittle regression test. We should use as input the files (these are copied into the input directory):

We should test against snapshots of the contents of:

jdhoffa commented 3 years ago

Relates to #55