Information about the package, cmockery2-devel, which is shipped with common Linux distributions. The cmockery2-devel package is designed for, Lightweight C unit testing framework.
Package Name:
cmockery2-devel
Summary:
Lightweight C unit testing framework
Description:
Cmockery tests are compiled into a stand-alone executable and linked with the Cmockery library, the standard C library and module being tested. Any symbols external to the module being tested should be mocked - replaced with functions that return values determined by the test - within the test application. Even though significant differences may exist between the target execution environment of a code module and the environment used to test the code the unit testing is still valid since its goal is to test the logic of a code modules at a functional level and not necessarily all of its interactions with the target execution environment. Other features: * Lightweight C Unit test with mocking support * JUnit XML report output which can be used with Jenkins * Provides design-by-contract support This project is a successor of http://code.google.com/p/cmockery-staging/ which is a successor of Google's http://code.google.com/p/cmockery/. Package provides necessary headers for C unit test development
Architecture:
x86_64
Version:
1.3.9
Release:
1.el6
Size:
11 k
Repository:
epel
From Repository:
Licence:
ASL 2.0
Control the cmockery2-devel package with the following handy commands outlined below.
yum install cmockery2-devel
This command will install cmockery2-devel on the server.
yum remove cmockery2-devel
This command will un-install cmockery2-devel on the server. When you run this command, you will be asked if you are sure that you want to remove cmockery2-devel, so you have to manually confirm that you want to do this.
yum -y remove cmockery2-devel
This command will un-install cmockery2-devel on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove cmockery2-devel when using the -y flag.
yum update cmockery2-devel
This command will update cmockery2-devel to the latest version. When you run this command, you will be asked if you are sure that you want to remove cmockery2-devel, so you have to manually confirm that you want to do this.
yum -y update cmockery2-devel
This command will update cmockery2-devel to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove cmockery2-devel when using the -y flag.
yum info cmockery2-devel
This command will show you core information about the cmockery2-devel package.
yum deplist cmockery2-devel
This command will show you the dependencies for cmockery2-devel. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update cmockery2-devel
This command will check if there is an update waiting on cmockery2-devel. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.