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

Remove old unused integration tests #3192

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

This PR removes a bunch of old unused integration tests.

Motivation and Context

We removed these tests because the helper function to make them function was getting too big and bloated and we could not keep updating them. All of these tests are covered in cucumber with much less mocking. All of these tests also require database access that we removed to make database access more secure. These are for example functions such as spend_utxo previously they were all exposed but they are now all internal LMDB functions and we only have access to functions such as add_block which will internally "spend" the utxos.

How Has This Been Tested?

Checklist:

  • I'm merging against the development branch.
  • I have squashed my commits into a single commit.

Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

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

LGTM

@stringhandler stringhandler merged commit 4428bf4 into tari-project:development Aug 17, 2021
@SWvheerden SWvheerden deleted the sw_remove_old_tests branch August 17, 2021 11:56
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.

4 participants