Skip to content

Improve support for engines #1227

Open
Open
@cupakromer

Description

@cupakromer

This is probably going to be a relatively large task. We've recently had a few issues show up regarding needing improved support for testing engine parts in isolation. While those issues are provided for via a relatively simple module inclusion, general engine support is lacking.

I started to follow the newish Rails Guide: Getting Started with Engines. I followed the tutorial using today's latest stable Rails release (4.1.8). Essentially, right from the beginning RSpec is lagging very far behind 😦. Attempting to run the scaffold generator, bin/rails generate scaffold article title:string text:text, resulted in zero RSpec generated files. 😩 Also, if you do not run the default test-unit process when creating the engine there isn't a clear way on generating another dummy test application.

I'm happy to begin working on making engine author's lives easier. I'm also happy to take patches and PRs / suggestions / advise from the community.

Cheers everyone! 😸

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions