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

Eases autoloading issue debugging #1400

Merged
merged 3 commits into from Mar 13, 2022

Conversation

gquemener
Copy link
Contributor

By being explicit about files that are ignored while running the specs
suite, we help developers resolve autoloading issue.

This PR superseds #1272

Let's agree on the scope of this feature:

  • Should it be ported on all formatters ?
  • Should it impact the exit code ?
  • Any other concerns ?

@gquemener gquemener mentioned this pull request Nov 23, 2021
@ciaranmcnulty
Copy link
Member

I don't think it should impact the exit code; I think it should be implemented across formatters :-)

@ciaranmcnulty
Copy link
Member

@gquemener Is this ready to merge, in your opinion? It could do with a rebase

@gquemener
Copy link
Contributor Author

Here's the current status on this PR.

Display ignored specs (due to loading failure) using format:

  • dot
  • html
  • progress
  • tap
  • junit
  • json
  • pretty
  • teamcity

@gquemener
Copy link
Contributor Author

If you're ok to have this halfway implemented, then you can merge it. Someone (me included) will probably open a new one to support the other formaters 🤔

Would that be acceptable in your opinion?

@ciaranmcnulty
Copy link
Member

Can you rebase to trigger a new build please?

I think not implemented in all formatters is better than not implemented at all

By being explicit about files that are ignored while running the specs
suite, we help developers resolve autoloading issue.
@gquemener
Copy link
Contributor Author

Here we go, the branch is rebased 👌

@ciaranmcnulty ciaranmcnulty merged commit 4afa39d into phpspec:main Mar 13, 2022
@ciaranmcnulty
Copy link
Member

Thanks @gquemener

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

Successfully merging this pull request may close these issues.

None yet

2 participants