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

Use in-process testing of Dagger #27

Open
alex2069 opened this issue Jul 6, 2018 · 0 comments
Open

Use in-process testing of Dagger #27

alex2069 opened this issue Jul 6, 2018 · 0 comments

Comments

@alex2069
Copy link
Contributor

alex2069 commented Jul 6, 2018

Currently for simplicity Dagger is tested using an external script runDaggerVersionTests.sh that simply loops over dagger versions, rebuilding the demo app performing connected tests with different versions of dagger. This processes is extremely slow, adds bloat to the demo, and doesn't provide a convenient means of investigating errors. Additionally, at present in order to test alternative Dagger configurations the demo app would need to be altered, which would effectively destroy the original "tests" in the process.

The test project can run kapt and compile in-process and take advantage of a proper test environment. This would also allow testing of custom Dagger configurations outside of the constraints of the demo's contrived setup.

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