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

[Chore] Organize integration tests into sub-folders #2203

Closed
dsawali opened this issue Dec 3, 2022 · 1 comment · Fixed by #2844
Closed

[Chore] Organize integration tests into sub-folders #2203

dsawali opened this issue Dec 3, 2022 · 1 comment · Fixed by #2844
Assignees
Labels
2 testing🧪 Work related to testing, manual or automated
Milestone

Comments

@dsawali
Copy link
Contributor

dsawali commented Dec 3, 2022

With an increasing amount of support we build for Tezos, we also have an increasing amount of tests written.

To ensure maintainability and efficiency in the development process, we should start organizing the tests categorically based on which part of Taquito it's testing.
It is hard to scroll through the seemingly unending list of tests or know the exact name of the test for the search.

I.e. Contract API support for operations would go in a folder as such:
integration-tests/contracts/operations/simple-origination.spec.ts
integration-tests/contracts/operations/increase-paid-storage.spec.ts
...

Solution

Evaluate the integration-tests folder and organize the tests categorically with relevant sub-folders.
The goal is to have a 1 level depth.
Names of the tests are not intuitive either.

In the future, we can run folders of tests in parallel in CI and rerun only failed folders. Create a devops issue for this to follow.

@Innkst Innkst added this to the v15.2 milestone Dec 9, 2022
@Innkst Innkst modified the milestones: v16.1, v16.2 Mar 11, 2023
@Innkst Innkst modified the milestones: v16.2, v17.1 Apr 15, 2023
@Innkst Innkst added the testing🧪 Work related to testing, manual or automated label Jun 2, 2023
@dsawali dsawali added the 2 label Jun 7, 2023
@Innkst Innkst modified the milestones: v17.1, v17.2, v18.1 Jun 23, 2023
@Innkst Innkst modified the milestones: v18.1, v18.2 Aug 1, 2023
@hui-an-yang
Copy link
Collaborator

hui-an-yang commented Aug 30, 2023

Would be great to also re-evaluated what tests are still relevant can cross reference files to find duplicate and reduce them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 testing🧪 Work related to testing, manual or automated
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants