Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate the possibility of generating DSLs for test classes #715

Closed
vinistock opened this issue Jan 24, 2022 · 1 comment
Closed

Investigate the possibility of generating DSLs for test classes #715

vinistock opened this issue Jan 24, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@vinistock
Copy link
Member

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_PATH so that we can require files under test
  • And then require tests
@vinistock vinistock added the enhancement New feature or request label Jan 24, 2022
@Morriar Morriar added this to the Tapioca 1.0 milestone Feb 10, 2022
@Morriar Morriar removed this from the Tapioca 1.0 milestone Jan 18, 2023
@Morriar
Copy link
Collaborator

Morriar commented Jan 18, 2023

Duplicate of #570.

@Morriar Morriar closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants