Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[WCM][Tests] Improve tests running with specific requirements (except intl icu) #9830

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

Closed
wants to merge 1 commit into from

Conversation

cordoval
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets na
License MIT
Doc PR na
  • go over all skipped tests, take note and check they are reasonable
  • reenable memcache, mongodb, and memcached

We are keeping the icu intl related tests skipped because setting up icu 51.2 is totally time consuming in travis and it would require a custom distro box on travis because there are no ppa's available for the ubuntu version. I tried hard but it does not seem worth it. Same for plugging beta of memcached with pecl, it is just not reasonable to be running beta versions on travis. This then does not address #9797 but at least now we are aware.

This PR now can be merged as is as it improves tests that before were not ran. Not all but more than before. 👶

@cordoval
Copy link
Contributor Author

beautiful https://travis-ci.org/cordoval/symfony/jobs/15781257 now i will be working on adjusting these

- COMPOSER_ROOT_VERSION=dev-master composer --prefer-source --dev install

script:
- ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo "Running {} tests"; phpunit --exclude-group tty,benchmark {};' || exit 1
- ls -d src/Symfony/*/* | parallel --gnu --keep-order 'echo "Running {} tests"; phpunit --tap --exclude-group tty,benchmark {} | grep "SKIP";' || exit 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't seem right. What are you trying to accomplish here??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you shall see 👶

@cordoval
Copy link
Contributor Author

@fabpot squashing now and after travis it should be good.

@@ -29,4 +29,11 @@ protected function getFormat()
{
return 'json';
}

private function skipIfPhpVersionIsNotSupported()
Copy link
Member

Choose a reason for hiding this comment

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

why did you create a new method if you will only use it once in the class (since every test method already executes it in the setup)

@cordoval
Copy link
Contributor Author

@fabpot 🚢 ready

👶

@fabpot
Copy link
Member

fabpot commented Dec 22, 2013

we should probably do that in 2.3 instead, no?

@cordoval
Copy link
Contributor Author

@fabpot please merge #9841 so i can rebase #9830 and send the PR to master in which there is a new class that needs to be affected.

@cordoval
Copy link
Contributor Author

@fabpot thanks, now i will wait for you to upper port the 2.3 changes to master so i can rebase and then this can be submitted

@cordoval
Copy link
Contributor Author

although actually i can just submit it now since they are non conflicting

@cordoval
Copy link
Contributor Author

@fabpot this one is now ready 👶

fabpot added a commit that referenced this pull request Dec 22, 2013
…ents (except intl icu) (cordoval)

This PR was submitted for the 2.4-dev branch but it was merged into the 2.4 branch instead (closes #9830).

Discussion
----------

[WCM][Tests] Improve tests running with specific requirements (except intl icu)

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | na
| License       | MIT
| Doc PR        | na

 - [x] go over all skipped tests, take note and check they are reasonable
 - [x] reenable memcache, mongodb, and memcached

We are keeping the icu intl related tests skipped because setting up icu 51.2 is totally time consuming in travis and it would require a custom distro box on travis because there are no ppa's available for the ubuntu version. I tried hard but it does not seem worth it. Same for plugging beta of memcached with pecl, it is just not reasonable to be running beta versions on travis. This then does not address #9797 but at least now we are aware.

This PR now can be merged as is as it improves tests that before were not ran. Not all but more than before. 👶

Commits
-------

6e0b2dc added condition to avoid skipping tests on JSON_PRETTY support
@fabpot fabpot closed this Dec 22, 2013
@cordoval cordoval deleted the enable_memcached branch December 22, 2013 16:04
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.

4 participants