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

Generate controller test cases? #20

Open
beporter opened this issue Dec 16, 2015 · 0 comments
Open

Generate controller test cases? #20

beporter opened this issue Dec 16, 2015 · 0 comments

Comments

@beporter
Copy link
Contributor

If possible, baking a controller class and its associated test class should produce a test suite that passes and covers the majority (if not all) of the baked controller. The bake process is fairly deterministic-- so the tests should likewise be predictable.

There may be issues in how much information we have about the controller when rendering the test class of course, but this topic warrants some research and experimentation. Anything to improve upon an empty test class with a bunch of ->markTestIncomplete()s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant