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

Integration tests #20

Merged
merged 3 commits into from
Feb 1, 2018
Merged

Integration tests #20

merged 3 commits into from
Feb 1, 2018

Conversation

tcezard
Copy link

@tcezard tcezard commented Jan 10, 2018

This PR bring first integration tests.
It works by querying 10 random entities from the LIMS and stores them as a string in a yaml file.
This file can then be use to check that no regression occurred after a change in pyclarity lims.
The integration tests only test the entities' properties
They do not check:

  • the search functions
  • the entities' functions
  • the modification of entities
  • the creation of entities

There are also a few fixes that were discovered while creating the integration tests

tcezard added 3 commits January 9, 2018 13:34
Few fixes picked up when implementing integration tests
@coveralls
Copy link

coveralls commented Jan 10, 2018

Coverage Status

Coverage decreased (-0.2%) to 76.85% when pulling 4aeffe2 on integration_tests into 834cb0a on master.

@@ -879,6 +885,7 @@ def trigger_program(self, name):
self.program_status.root = e
return self.program_status

@property
Copy link
Collaborator

Choose a reason for hiding this comment

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

This could be a breaking change for projects using pyclarity-lims

@tcezard tcezard merged commit 2a4aedb into master Feb 1, 2018
@tcezard tcezard deleted the integration_tests branch May 11, 2018 03:05
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.

None yet

3 participants