Skip to content

Add web backend tests#231

Merged
shiv-tyagi merged 7 commits intoArduPilot:mainfrom
shiv-tyagi:backend-tests
Mar 22, 2026
Merged

Add web backend tests#231
shiv-tyagi merged 7 commits intoArduPilot:mainfrom
shiv-tyagi:backend-tests

Conversation

@shiv-tyagi
Copy link
Member

@shiv-tyagi shiv-tyagi commented Mar 20, 2026

This adds tests for the web backend. We are starting with the admin and vehicles service and api tests.

This PR also contains some changes which were required to make the code in the web directory testable (mostly fixing the module import paths etc.)

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

Please split the fixes and starting to use the external tool into two separate PRs.

Three if the testing is actually separate from the external tool...

@shiv-tyagi
Copy link
Member Author

I have submitted #233 and #232. I will rebase this after those are merged.

@shiv-tyagi
Copy link
Member Author

I have rebased this PR now. It only contains the tests, the pytest.ini config required to get them running and the github workflow.
I have removed the Codecov integration from this PR for now.
PTAL. Thanks.

@shiv-tyagi
Copy link
Member Author

Thank you so much @peterbarker for your time reviewing this.

@shiv-tyagi shiv-tyagi merged commit 7fa60f9 into ArduPilot:main Mar 22, 2026
2 checks passed
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.

3 participants