Closed FilipSzm closed 1 year ago
Hi @ConsoleRunner , I created a "generic" directory in the tests folder to store tests for all lizard-based language analyzers. With that, I also moved mock files in there. It's a little difficult to see the path change in github, but there is one from tests/... to tests/generic/... If you think there is no reason to create this subdirectory in tests, I will gladly delete it :)
Hi @ConsoleRunner , I created a "generic" directory in the tests folder to store tests for all lizard-based language analyzers. With that, I also moved mock files in there. It's a little difficult to see the path change in github, but there is one from tests/... to tests/generic/... If you think there is no reason to create this subdirectory in tests, I will gladly delete it :)
Ah, I missed that, thx for the quick response - no need for reverting it, but please clarify what would classify as a non-generic test in that context (for future devs to better utilize current test-related file structure).
Edit: added motivation behind my question
I named all analyzers made using the lizard library generic. I think this name is adequate because I doubt there will be another big library used for analyzers, and I think it's a better naming convention than something related to the lizard name. So in short, generic = lizard based, and anything else is non-generic
I named all analyzers made using the lizard library generic. I think this name is adequate because I doubt there will be another big library used for analyzers, and I think it's a better naming convention than something related to the lizard name. So in short, generic = lizard based
Alright, thanks for clarification 👍
Make base analyzer for lizard based analyzers
Use base analyzer in every lizard based language
Generify analyzer tests