Closed austenmc closed 8 years ago
Awesome! I started to awkwardly copy the config around using a script.. Much better!
The only issue I have: Usually, when you make changes to files I created, you (or probably your IDE) seems to remove all whitespace on an empty line. This makes the commit very difficult to read since there are a lot of changes that don't change anything at all. Can we resolve this issue somehow?
But we don't want this white space, at least according to PSR2 (and my own sensibilities). :)
That's what I meant with we need to resolve this. You give me an argument to not do it and I'll need to find a possiblity to remove these. Interestingly, my PSR2 code check does give me an error for spaces on an empty line.
Find the configuration file for the tests from an environment variable. This way I can reuse ModelTestCase inside the module repos, but not have to have the same directory structure, namely that I think having a
config/
directory would be very misleading for a module repo, so Ill put the config file within thetests/
directory.