Skip to content

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
"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

@sirbrillig sirbrillig Dec 13, 2017

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

3 participants