Skip to content

Make spec tests easier to debug #2055

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

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Conversation

schmidt-sebastian
Copy link
Contributor

@schmidt-sebastian schmidt-sebastian commented Aug 5, 2019

With this simple change, tests missing the "exclusive" tag will not be translated into JSON. Hence, we can set breakpoints in the spec builder functions. It's really a win win.

I also expect this to speed up our spec tests so much that this changes the way we look at unit testing. I am talking microseconds.

With this simple change, tests not marked as not "exclusive" will not be translated into JSON. Hence, we can set breakpoints in the spec builder functions. It's really a win win.

I also expect this to speed up our spec tests so much that this changes the way we look at unit testing. I am talking microseconds.
Copy link
Contributor

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests not marked as not "exclusive" will not be translated into JSON

Can you not use fewer nots in your description, or would that not cause there to not be confusion?

@schmidt-sebastian schmidt-sebastian merged commit fc1f1bc into master Aug 5, 2019
@schmidt-sebastian schmidt-sebastian deleted the schmidt-sebastian-patch-1 branch August 5, 2019 22:52
@firebase firebase locked and limited conversation to collaborators Oct 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants