ElectronVector / fake_function_framework

A plug-in for Ceedling to use the Fake Function Framework (fff) for mocking instead of Cmock.
MIT License
37 stars 13 forks source link

add folder argument to setup_mocks() #27

Closed Hannes103 closed 3 years ago

Hannes103 commented 3 years ago

Hello, this merge request is a follow up to my merge requests for Ceedling (https://github.com/ThrowTheSwitch/Ceedling/pull/512) and CMock.

In order to allow ceedling to mock headers that are located in subfolders a second argument (folder) has been added to the setup_mocks() function that allows ceedling to dynamically specify in which folder the mocks should be generated.

The behavior of this plugin is now again identical with CMock.

EDIT: I have fixed the failing tests. Sorry for the inconvenient.

EighthMayer commented 3 years ago

Looks good to me. Thank you!