Hi @siddhantgoel - I've been experimenting with a different technique for unit testing my importers. Instead of asserting directives field by field, I convert them to beancount plaintext format and then just assert on the strings. I find it helpful for showing what the expected output is of the importers.
This draft PR just shows what it looks like with a few examples converted, but if you like this style, I can complete the PR and convert all the tests to use this style.
No worries if you prefer your style, but just wanted to share this idea.
Hi @siddhantgoel - I've been experimenting with a different technique for unit testing my importers. Instead of asserting directives field by field, I convert them to beancount plaintext format and then just assert on the strings. I find it helpful for showing what the expected output is of the importers.
This draft PR just shows what it looks like with a few examples converted, but if you like this style, I can complete the PR and convert all the tests to use this style.
No worries if you prefer your style, but just wanted to share this idea.