Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Add unit test guidelines #111

Open
kammce opened this issue Oct 15, 2022 · 0 comments
Open

Add unit test guidelines #111

kammce opened this issue Oct 15, 2022 · 0 comments

Comments

@kammce
Copy link
Contributor

kammce commented Oct 15, 2022

A few requirements for a unit test:

  • test conanfile.txt should only include:
    • boost.ut: or other unit testing framework of choice
    • own repo: to get latest dependencies
  • CMakeLists.txt must force build type to "Debug"
  • CMakeLists.txt must include the source headers directly
  • Code MUST NOT use the conan headers directly, this makes error messages easier to find.
@kammce kammce transferred this issue from libhal-google/libhal Dec 11, 2022
@kammce kammce transferred this issue from libhal-google/.github Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant