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

fix unit tests #277

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Conversation

davidpolaniaac
Copy link
Contributor

@davidpolaniaac davidpolaniaac commented Jun 29, 2022

Before submitting a pull request, please read
https://github.com/bancolombia/scaffold-clean-architecture/wiki/Contributing

Description

Fix issue #245
Some IDEs like VSCode or Eclipse use the bin folder to compile and use resources. The plugin searches all the files by specific extension and concatenates it to the root of the test project, which generates an inconsistency in the file path, so the valid directories for file search are filtered.
Absolute paths in windows contain a disk letter is solved by validating the type of path.

Category

  • Feature
  • Fix

Checklist

  • The pull request is complete according to the guide of contributing
  • Automated tests are written
  • The documentation is up-to-date
  • The pull request has a descriptive title that describes what has changed, and provides enough context for the changelog
  • If the pull request has changed structural files, you have implemented an UpgradeAction according to the guide

@davidpolaniaac
Copy link
Contributor Author

@santitigaga

@santitigaga
Copy link
Contributor

Thank you for the help, When I execute the unit test in this branch with windows,5 tests fail
image

@davidpolaniaac davidpolaniaac marked this pull request as draft June 30, 2022 19:29
@davidpolaniaac davidpolaniaac marked this pull request as ready for review June 30, 2022 21:02
@davidpolaniaac
Copy link
Contributor Author

@santitigaga thanks for the review. There are two types of error, one is due to the management of routes according to the operating system and the conflicts of the IDEs files. Both are solved. 👍

Copy link
Contributor

@santitigaga santitigaga left a comment

Choose a reason for hiding this comment

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

great nice job

@santitigaga santitigaga merged commit 334de64 into bancolombia:master Jun 30, 2022
@santitigaga santitigaga linked an issue Jun 30, 2022 that may be closed by this pull request
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Some unit test failled in Windows
2 participants