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

Alter tests to run without AbstractSniffUnitTest #14

Merged
merged 10 commits into from Dec 12, 2017

Conversation

sirbrillig
Copy link
Owner

@sirbrillig sirbrillig commented Dec 12, 2017

You can now run tests with composer test.

Fixes #8

To do:

  • Make sure both errors and warnings are tested.
  • Move giant fixture to small fixtures and create small test cases for each one.

@sirbrillig sirbrillig merged commit f2f7998 into master Dec 12, 2017
@sirbrillig sirbrillig deleted the add/less-automated-tests branch December 12, 2017 19:03
@@ -19,8 +19,16 @@
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"test": "./vendor/bin/phpunit --bootstrap ./VariableAnalysis/Tests/bootstrap.php --printer=LimeDeck\\\\Testing\\\\Printer ./VariableAnalysis/Tests"
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it not be better to put these args into a phpunit.xml.dist file?

Copy link
Owner Author

Choose a reason for hiding this comment

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

Maybe! I just dislike writing xml 😛 I suppose that would simplify this line. Tracked in #18

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.

Automate tests
2 participants