Skip to content
This repository has been archived by the owner on Mar 1, 2018. It is now read-only.

Test Federal Senate integration in CI #59

Merged
merged 6 commits into from
Jul 3, 2017

Conversation

Irio
Copy link
Collaborator

@Irio Irio commented Jun 18, 2017

Chamber of Deputies still doesn't work (given its higher memory usage), but will do after some effort.

- coverage run rosie.py test

- python rosie.py run federal_senate
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we actually using run not test for… testing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, that's the idea. In the line above we run all the written tests. Here, we run federal_senate. If doesn't work for any reason, will return a non-zero exit code and make the suite fail on CI.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Why? Because we don't have integrated tests (a journey) for the Senate app?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes.

Copy link
Collaborator

Choose a reason for hiding this comment

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

so this is basically a workaround to not having journey tests? and if so wouldn't it be wiser to not do this and open up an issue "Create journey tests for federal senate"?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I do agree, @jtemporal — but I also see the point: better to run and make sure it doesn't crash than have nothing in the CI at all. Maybe both?

Copy link
Collaborator

Choose a reason for hiding this comment

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

both sounds good! @cuducos

@jtemporal
Copy link
Collaborator

So I'm merging this and opening an issue based on this comment by @cuducos on having journey tests

@jtemporal jtemporal merged commit e404210 into master Jul 3, 2017
@jtemporal jtemporal deleted the irio-integration-test-on-ci branch July 3, 2017 19:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants