ElectronVector / fake_function_framework

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

still using cmock #16

Closed Wurstnase closed 5 years ago

Wurstnase commented 5 years ago

Hi Matt,

I'm trying to install your plugin. But unfortunately it still uses cmock.

Here is my minimal example: https://github.com/Wurstnase/ceedling_fff_test

You can see in build/test/mocks that cmock is still active: mock_display.h My project.yml

Global ceedling

Welcome to Ceedling!
  Ceedling::   0.28.3
  CMock::      2.4.5
  Unity::      2.4.2
  CException:: 1.3.1

Project ceedling

Using fake function framework (fff)...
  Ceedling:: 0.28.3
CException:: 1.3.1.18
     CMock:: 2.4.6.217
     Unity:: 2.4.3.122
Wurstnase commented 5 years ago

This was really hidden...

working: ceedling test:mycheck

not working: ceedling verbosity[4] test:mycheck

Only in the second pass I can omit the verbosity flag. Any idea to solve this?

mchernosky commented 5 years ago

Hmm, so you are saying that CMock is used instead of fff if a verbosity setting is used the ceedling command?

mchernosky commented 5 years ago

If so, it seems related to #15.

Wurstnase commented 5 years ago

Yes, looks like. So this is a duplication. I will close it.