`wp scaffold package-tests . --force` will break test files
miya0001 opened this issue · comments
Feature files were broken after I ran wp scaffold package-tests . --force
like following.
https://gist.github.com/miya0001/d17a036a2a82a86f293b459f4d7868d9
Also, a WP install
is not working.
I guess FeatureContext::copy_dir()
isn't working as expected.
@wp-cli/committers
Hmm, I don't have any idea.
Are there any mistake?
Ah, we can reproduce this problem with the nightly version of WP-CLI.
Did you mean to run wp scaffold package-tests ./ --force
?
Yes I tried wp scaffold package-tests ./ --force
too.
Huh. I just tried locally and it worked fine for me: #150
I have same problem on the ubuntu with fresh install.
I will look into tomorrow.
Oh. I see what's going on. wp-cli/wp-cli#4391 is stripping Behat comments that it shouldn't be.
Ah the @AfterSuite
etc tags in FeatureContext
?
@gitlost Yep. Creating a PR now.