Skip to content

Conversation

@hardbyte
Copy link
Collaborator

Separate the e2e tests and the unit tests.

Adds a new docker container anonlink-test.

@hardbyte hardbyte requested a review from joyceyuu March 12, 2020 23:32
Copy link
Contributor

@joyceyuu joyceyuu left a comment

Choose a reason for hiding this comment

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

Nice! I should learn this test separation for anonlink-client as well

containers:
- name: entitytester
image: $IMAGE_NAME_WITH_TAG
image: $TEST_E2E_IMAGE_NAME_WITH_TAG
Copy link
Contributor

Choose a reason for hiding this comment

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

What does E2E stand for? end to end? from which end to which end?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup end to end, here it means tests that only use the public REST api. We could expand further, or add another level to test the integration between client apps and the server.

# itertools.product(PROJECT_RESULT_TYPES_2P, [1, 3, 4, 5]),
# [(t, 1) for t in PROJECT_RESULT_TYPES_NP]))
# def invalid_result_type_number_parties(request):
# yield request.param
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this an accident? whole file is commented out?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, the contents has moved into the e2e test folder - I'll delete this commented out stuff.

@hardbyte hardbyte force-pushed the create-comparisons-to-use-blocking branch 2 times, most recently from 5c8b6a2 to 5467362 Compare March 18, 2020 03:51
@hardbyte hardbyte changed the base branch from create-comparisons-to-use-blocking to develop March 24, 2020 18:53
@hardbyte hardbyte force-pushed the split-e2e-tests-out branch from a2b5d41 to a48cf3d Compare March 24, 2020 19:12
@hardbyte hardbyte requested a review from wilko77 March 24, 2020 20:00
@hardbyte hardbyte merged commit 4d279c0 into develop Mar 24, 2020
@hardbyte hardbyte deleted the split-e2e-tests-out branch March 24, 2020 20:01
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.

3 participants