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

Add phpchunkit release #53

Open
joesaunderson opened this issue Jun 11, 2019 · 9 comments
Open

Add phpchunkit release #53

joesaunderson opened this issue Jun 11, 2019 · 9 comments

Comments

@joesaunderson
Copy link

joesaunderson commented Jun 11, 2019

Can a version of this be released, when installing via

composer require jwage/phpchunkit

I get the message:

[InvalidArgumentException] Could not find a version of package jwage/phpchunkit matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability.

@jwage
Copy link
Owner

jwage commented Jun 11, 2019

Hi @joesaunderson. I think I would rather see this get included directly in phpunit sebastianbergmann/phpunit#3605

I am not currently actively working on this and don't have the capacity at the moment to do anything with it. Although if I can't get this functionality built in to PHPUnit then I will pick this back up then and get it ready for 1.0 and release it.

@jwage jwage changed the title Add release Add phpchunkit release Jun 11, 2019
@joesaunderson
Copy link
Author

Have you had any feedback from Sebastian as to whether this would be possible?

Out of interest, do you know of any solution that handles multiple docker stacks for unit testing in PHP, i.e DB, Web service and other micro-services that are scalable for each test suite?

@jwage
Copy link
Owner

jwage commented Jun 12, 2019

I have built that kind of setup multiple times, but nothing that is shareable/reusable right now.

@joesaunderson
Copy link
Author

Anywhere you can point in the right direction? Struggling here.

Got a docker-compose bash wrapper that sets up what we need and puts data in the right places, but how to distribute tests and consolidate the results is proving difficult.

@jwage
Copy link
Owner

jwage commented Jun 14, 2019

A Jenkins cluster might be easier to get going. Do a 2 or 3 node cluster and create multiple jobs that run each chunk/group of tests. Before I built phpchunkit I just manually chunked tests in to groups by using group1, group2, etc. and I just ran several groups in parallel.

@joesaunderson
Copy link
Author

We already do something similar to this. The solution we wanted was with multiple docker stacks on one node.

@jwage
Copy link
Owner

jwage commented Jun 14, 2019

Why? Do you have things parallelized in that setup?

@joesaunderson
Copy link
Author

We have 9 applications that we want to be able to build independently of eachother... this potentially includes PR branches too.

There are selenium tests, so each stack has a selenium node and Firefox / chrome node. With a DB node and a web node.

We want to be able to spin up as many stacks of each application as we can, agnostic of what host they are on.

@mnsami
Copy link

mnsami commented Jan 10, 2020

Hello, i think this ticket is diverted from its original point which making an official release.

It has been already 6 months since the original request, and at work we would like to give this a try, but it conflicts with the minimum stability requirement.

@jwage is it possible you tag it and release soon?

Thanks.

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

No branches or pull requests

3 participants