google / google/acai

Fail on misuse of TestScoped bindings

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
82
Forks
30
PR merge metrics
No merged PRs in 30d

Description

A user reported an issue where they were binding an instance in test scope and then injecting that into a singleton scoped object. Apparently this does not produce an error from Acai but leads to incorrect behavior in the tests.

If possible it would be nice to fail fast in such a scenario.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.