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

Unit test documentation is outdated #3862

Open
CookiePLMonster opened this issue Aug 29, 2024 · 0 comments
Open

Unit test documentation is outdated #3862

CookiePLMonster opened this issue Aug 29, 2024 · 0 comments
Assignees
Labels
Bug Documentation Everything related to docs & code comments

Comments

@CookiePLMonster
Copy link
Contributor

CookiePLMonster commented Aug 29, 2024

Describe the enhancement you're suggesting.

A few things that I could spot while figuring out how to set up the unit tests on my Flipper with the help of the docs:

  1. The instructions mention test_index.c twice, but that file doesn't exist. What is the current replacement for it?

  2. The instructions state

    Flash the firmware using your preferred method, including SD card resources

    but FBT's [Debug:unit_tests] Flash (USB) task does "./fbt FIRMWARE_APP_SET=unit_tests FORCE=1 flash_usb" and not flash_usb_full, thus skipping resources.

  3. The docs mention updater_package, but FBT's vscode task skips it. Which of the two is correct?

Anything else?

No response

@hedger hedger added Bug Documentation Everything related to docs & code comments labels Sep 4, 2024
@hedger hedger self-assigned this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Documentation Everything related to docs & code comments
Projects
None yet
Development

No branches or pull requests

3 participants