Skip to content
#

unittesting

Here are 221 public repositories matching this topic...

eugpermar
eugpermar commented May 23, 2018

Suites like gcov works well if I execute many binaries (or the same binary with different arguments) in parallel, does kcov support this too? In particular, I'm interested in bash coverage.

For example, to have two scripts that source common.sh, and I execute them in two different shells, will the common.sh merged reports be OK? If not, what parts of kcov should be modified to support it?

Th

thoni56
thoni56 commented Jul 7, 2019

In the documentation the description of how to use mocks is focused on injecting them in the tested functions.

An important use case is that the code under test is actually calling functions that are not injected but linked. There are a couple of cases here that we should document:

  • calling your own linked functions
  • calling library functions

And there are a couple of mechanics to hand

svetlyak40wt
svetlyak40wt commented Jan 5, 2019

Previously, when used under Prove, assert-that call produced a nice output:

TEST> (assert-that task
                   (has-slots 'title "The title "))
  ✓ Has slots:
      TITLE = "The title "

However, for Rove, it just returns t or nil.

We need to create a helper for a demonstration of a matcher without a call to assert-that. And to rewrite all docstrings to use

Improve this page

Add a description, image, and links to the unittesting topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the unittesting topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.