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

[TEST] Setup test infrastructure #51

Merged
merged 98 commits into from
Oct 30, 2024
Merged

[TEST] Setup test infrastructure #51

merged 98 commits into from
Oct 30, 2024

Conversation

Fabricio-ESP
Copy link
Collaborator

@Fabricio-ESP Fabricio-ESP commented Sep 20, 2024

Description

This pull requests adds the test infrastructure to the tests folder.
A README.md file describes the steps required to run the tests on a Windows and Linux machine (MacOS TBD).

At this point tests are running locally, there is no CI integration in place.

Next steps is to expand the test cases and work on integrating a github actions to execute the test on github runners.

Update!

Ci has been integrated into this PR. The CI is set to only run for new PRs into the autotest branch (intended for test script expansion) or manually triggered to any branch using the github actions tag (look for autotest workflow)

Current tests validates the installation of ESP-IDF following the wizard steps for linux and windows machines that already have all prerequisites installed.

Related

Testing


Checklist

Before submitting a Pull Request, please ensure the following:

  • 🚨 This PR does not introduce breaking changes.
  • All CI checks (GH Actions) pass.
  • [X ] Documentation is updated as needed.
  • Tests are updated or added as necessary.
  • Code is well-commented, especially in complex areas.
  • Git history is clean — commits are squashed to the minimum necessary.

@Fabricio-ESP Fabricio-ESP added the enhancement New feature or request label Sep 20, 2024
@Fabricio-ESP Fabricio-ESP changed the title [WIP] [TEST] Setup test infrastructure [TEST] Setup test infrastructure Oct 2, 2024
Copy link
Collaborator

@Hahihula Hahihula left a comment

Choose a reason for hiding this comment

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

After the changes LGTM

.github/workflows/build_and_test.yaml Outdated Show resolved Hide resolved
.github/workflows/build_and_test.yaml Outdated Show resolved Hide resolved
.github/workflows/build_and_test.yaml Outdated Show resolved Hide resolved
tests/README.md Outdated Show resolved Hide resolved
tests/classes/CLITestRunner.class.js Outdated Show resolved Hide resolved
@Fabricio-ESP Fabricio-ESP merged commit e2fe1f5 into master Oct 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants