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

Improve mock names #49

Closed
JamesHutchison opened this issue Mar 26, 2023 · 0 comments
Closed

Improve mock names #49

JamesHutchison opened this issue Mar 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@JamesHutchison
Copy link
Owner

Currently, mock objects get an automatically created name, such as mock and mock() then mock()(). It would be better if mock was replaced by the actual name of the object being spec'ed, which we have. Instances should be MyClass() while classes would be MyClass

@JamesHutchison JamesHutchison added the enhancement New feature or request label Mar 26, 2023
@JamesHutchison JamesHutchison added this to the Move to beta milestone Mar 30, 2023
@JamesHutchison JamesHutchison self-assigned this Apr 22, 2023
JamesHutchison added a commit that referenced this issue Apr 22, 2023
* Add megamock name (not human name)
* Fix non-spec'ed megamock not supporting new attributes
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

1 participant