This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
forked from samsonasik/expressive-composer-installer
-
Notifications
You must be signed in to change notification settings - Fork 90
Refactor and improve tests #109
Merged
weierophinney
merged 26 commits into
zendframework:master
from
geerteltink:feature/improve-tests
Sep 1, 2016
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b81fd41
Add error handler test
geerteltink 6e124bd
Refactor test case and populate the installer from the parsed compose…
geerteltink 067f755
Remove unused response property
geerteltink 375088e
Refactor dev dependencies removal and add a test
geerteltink f6db55a
Test all packages in one go
geerteltink b3d997f
The answer should be saved after the question is processed
geerteltink ed1aba1
Refactor removing installer from composer and add a test
geerteltink 0197fa2
Add missing docblock
geerteltink 04f6490
Add testing different types of answers
geerteltink 62b7154
Remove install package method from the test case
geerteltink 35721d4
Update Travis CI config and enable Coveralls
geerteltink e6f9088
Remove coveralls src_dir from config
geerteltink 31b3d54
Use the correct coverall badge and url
geerteltink 65ccd5f
Use the correct travis globals please :D
geerteltink 38acc3b
Exclude the installer resources for coverage
geerteltink 3b85069
Don't process uncovered files from whitelist
geerteltink 311101d
Properly exclude the resources directory
geerteltink ae10a75
Exclude some parts which can't be tested without modifying source files
geerteltink 4e329d7
Skip locked dependency tests since there is no composer.lock file inc…
geerteltink c38c5ba
Send travis notifications to irc and disable email notifications
geerteltink d270c0b
The scripts section in composer.json is never empty so it doesn't nee…
geerteltink 7b96d1f
Remove branch-alias
geerteltink 7552f93
Lets not test removing the installer source code :)
geerteltink 658cefa
Add addPackage tests
geerteltink 2ea211b
Add test for minimal install request
geerteltink 071291d
Add highest and lowest test for php 5.5
geerteltink File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
coverage_clover: clover.xml | ||
json_path: coveralls-upload.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
.idea | ||
composer.phar | ||
composer.lock | ||
|
||
clover.xml | ||
coveralls-upload.json | ||
phpunit.xml | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
<phpunit bootstrap="./vendor/autoload.php" colors="true"> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
colors="true"> | ||
<testsuites> | ||
<testsuite name="App\\Tests"> | ||
<directory>./test</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory suffix=".php">src</directory> | ||
<whitelist> | ||
<directory suffix=".php">./src</directory> | ||
<exclude> | ||
<directory suffix=".php">./src/ExpressiveInstaller/Resources</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
</phpunit> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.