Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Refactor and improve tests #109

Merged
merged 26 commits into from Sep 1, 2016
Merged

Refactor and improve tests #109

merged 26 commits into from Sep 1, 2016

Conversation

geerteltink
Copy link
Member

@geerteltink geerteltink commented Aug 27, 2016

This PR is based on #101

  • Parse composer package and populate definitions and requirements
  • Add test for cleaning up the de requirements
  • Remove installPackage method from the test case and use the function from the installer
  • Test 'n' answers
  • Test answers with custom packages
  • Update travis file
  • Drop php 5.5
  • Add coveralls support
  • Improve coverage

@geerteltink geerteltink changed the title [WIP] Refactor and improve tests Refactor and improve tests Aug 29, 2016
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7e7ba63 on xtreamwayz:feature/improve-tests into * on zendframework:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 964e64a on xtreamwayz:feature/improve-tests into * on zendframework:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 132cce2 on xtreamwayz:feature/improve-tests into * on zendframework:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 2b2b10d on xtreamwayz:feature/improve-tests into * on zendframework:master*.

matrix:
fast_finish: true
include:
- php: 5.5
Copy link
Member

Choose a reason for hiding this comment

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

If we do this for master, we need to keep 5.5 in here; if we do it for develop, and the 1.1 release, we can leave as-is. I'm going to leave it to you, @xtreamwayz , to decide which you want to target.

@weierophinney
Copy link
Member

Awesome work, @xtreamwayz !

One note: can you please rebase? I merged a few patches from you earlier today that affect the changes you've done (notably: ocramius/proxy-manager removal from $devDependencies, and the looping for the "minimal install" prompt).

Thanks!

@geerteltink
Copy link
Member Author

@weierophinney Rebase done.

@weierophinney weierophinney added this to the 1.0.3 milestone Sep 1, 2016
@weierophinney weierophinney self-assigned this Sep 1, 2016
@@ -24,79 +26,111 @@
class InstallerTestCase extends \PHPUnit_Framework_TestCase
Copy link
Member

Choose a reason for hiding this comment

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

I'm going to mark this as abstract when I merge, as the intention is for test cases to extend it.

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess you can rename it to AbstractInstallerTestCase as well.

@weierophinney weierophinney merged commit 071291d into zendframework:master Sep 1, 2016
weierophinney added a commit that referenced this pull request Sep 1, 2016
weierophinney added a commit that referenced this pull request Sep 1, 2016
weierophinney added a commit that referenced this pull request Sep 1, 2016
weierophinney added a commit that referenced this pull request Sep 1, 2016
Forward port #109

Conflicts:
	CHANGELOG.md
@geerteltink geerteltink deleted the feature/improve-tests branch September 3, 2016 14:28
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.

None yet

3 participants