fprettify
fprettify copied to clipboard
Improve testing
trafficstars
There are two different testing mechanisms in place:
- unit tests (hard-coded Fortran snippets)
- testing by cloning Fortran projects
For 1) non-default command line options can be tested, but because fprettify is called as an external scripts, there are problems with python versions and test coverage is not reported For 2) we can test only with default options but test coverage works
Both mechanisms should be unified and both should call fprettify.run(). Then test coverage and non-default options should work.
Furthermore the testing procedure should be documented better.