-
Notifications
You must be signed in to change notification settings - Fork 329
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
[WIP] First try of conu test implementation #198
Conversation
@TomasTomecek, FYI, we might chat about this sometime. |
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.
you probably forgot to include Dockerfile.tests
in this PR
otherwise lgtm, but I'm assuming you want to talk to me
@@ -8,3 +10,10 @@ OPENSHIFT_NAMESPACES = 5.5 | |||
.PHONY: $(shell test -f common/common.mk || echo >&2 'Please do "git submodule update --init" first.') | |||
|
|||
include common/common.mk | |||
|
|||
build-test-container: | |||
docker build --network host --tag=$(TEST_IMAGE_NAME) -f ./test/Dockerfile.tests . |
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.
Dockerfile.tests
seems to be missing
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.
Correct, will do.
app.rmi() | ||
|
||
|
||
class GenericTestSuite: |
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.
I'm assuming you want this class to be in conu :)
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.
Yes, that was the intention, but I did not go far enough to propose it as a PR.
backend = DockerBackend(logging_level=logging.DEBUG) | ||
|
||
|
||
@pytest.fixture(scope="module", params=app_paths) |
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.
and we could also start shipping some fine-crafted pytest fixtures in conu
Since there is no pressure to have this PR finished asap, I'd like rather to do the changes in |
We have disabled conu in RHSCL CI testing. Closing this issue. |
Based on sclorg/s2i-ruby-container#167 with slight generalization. The point here is to see how much of the tests we can actually generalize, and put into conu library. It seems quite a lot.