[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cmocka adaptions for Behavior driven development


On Tuesday, 13 June 2017 13:57:20 CEST Vestre, Frederik wrote:
> Hi

Hello Frederick,

> I have made some additions to cmocka to support BDD style testing ( loosely
> inspired by 
> https://github.com/philsquared/Catch/blob/master/docs/tutorial.md ). Is it
> possible to get these changes included into cmocka, if so how do I proceed?

this sounds like:

https://git.cryptomilk.org/projects/cmocka.git/tree/include/cmocka_pbc.h

is that the same?

> I have gotten permission from my manager to release this under the Apache
> license in order to be compatible with the cmocka project. The changes are
> attached to this e-mail. I also have the changes in a local Git repository
> and can provide them in another format if that is preferable.

I'm open for additions but I would like to keep the main library small. So it 
would be great to have this in an additonal header (maybe even a library).

The documentation should be added to doxygen so that everything is in one 
place.

I would prefer to have git formatted patches. The smaller the commits the 
easier it is to review and integrate patches. Patches are also easier to 
review an change.

I'm not sure if cmocka forks is a good name, because of the confusion with the 
fork() system call :-)

Does that make sense?


	Andreas


-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

Follow-Ups:
RE: Cmocka adaptions for Behavior driven development"Vestre, Frederik" <Frederik.Vestre@xxxxxxxxxxxxx>
References:
Cmocka adaptions for Behavior driven development"Vestre, Frederik" <Frederik.Vestre@xxxxxxxxxxxxx>