[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] GlusterFS unit test framework
From: |
Justin Clift |
Subject: |
Re: [Gluster-devel] GlusterFS unit test framework |
Date: |
Sun, 9 Mar 2014 13:18:27 +0000 |
On 06/03/2014, at 9:01 PM, Luis Pabon wrote:
> Hi all,
> The patch is now live in GlusterFS. This patch will allow you to write
> unit tests for your new patches or if you want, you can start writing unit
> tests for older code. Writing unit tests for older code is a great way to
> learn the code (which I will be doing :-)). I have also created a
> presentation to help explain what unit tests are:
>
> http://slides-lpabon.rhcloud.com/feb24_glusterfs_unittest.html#/
>
> The framework will also help in situations where developers are depending on
> APIs from other contributors. In this situation, the developer can write
> their patch and test their code by mocking any APIs their code is dependent
> on. This method allows for parallel development without the need to wait for
> the APIs to be available.
It turns out this patch is breaking the build on EL5. :(
Looking through the docs on your cmockery2 GitHub repo, it's
hard to tell which platforms are supported. Should it work
on EL5? :)
Regards and best wishes,
Justin Clift
--
Open Source and Standards @ Red Hat
twitter.com/realjustinclift