Skip to content

Using fake/mock instead real class #1075

@vovagorodok

Description

@vovagorodok

Is here a possibility (some define?) to use mock/fake of classes instead full library compilation? In order to test project with libraries that depends on NimBLE-Arduino

[env:test]
platform = native
build_flags =
	${env.build_flags}
	-D NIM_BLE_ARDUINO_FAKE
lib_deps =
	${env.lib_deps}
	fabiobatsilva/ArduinoFake@^0.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions