Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added content on writing unit tests and mocks in C with AUM #350

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

c8y3
Copy link

@c8y3 c8y3 commented Oct 2, 2020

I have written a succinct introduction to unit tests in C with AUM (https://github.com/airbus-cyber/aum).
AUM is a C unit testing library which focuses on the easy definition of mocks.
I explain the reason for doing unit tests, the structure of a test, the notion of mocks and list some best practices. All the examples are written using the AUM API.

@pvalena
Copy link
Contributor

pvalena commented Apr 8, 2021

Hello. It looks good!

However, I'd like it to look more Fedora-friendly, as this is aimed solely at Fedora users.

E.g. https://github.com/developer-portal/content/blob/master/tech/languages/c/gtk.md

  • Starts with overview (we really aim at short quickstarts)
  • Continues with dnf install (fedora-specific) .. could be replaced by COPR. f.e..
  • Example (simple usage)
  • References documentation.

Also, this could be possibly generalized- are there any other mocking libraries (just to list them for comparison)?

@pvalena pvalena self-assigned this Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants