tapioca
tapioca copied to clipboard
Investigate the possibility of generating DSLs for test classes
Currently, we do not require test files as a part of the DSL generation process. However, there are certain test classes that do have DSLs generated with meta-programming. One example is tests that inherit from ActionView::TestCase, which get the helpers they test automatically included by Rails.
Investigate the possibility of running the DSL generators for test classes and whether that causes any sort of conflicts. Based on some preliminary explorations, we will have to
- Stop test from auto-running as they are required (or else we will run the entire test suite)
- Require the gems under the test group
- Modify the
$LOAD_PATHso that we can require files undertest - And then require tests