nemu icon indicating copy to clipboard operation
nemu copied to clipboard

Create tests and use Coverity Scan

Open 0x501D opened this issue 2 years ago • 5 comments

We can use something like this: https://www.drmaciver.com/2015/05/using-tmux-to-test-your-console-applications/

0x501D avatar Nov 29 '21 12:11 0x501D

Totally agree, we can start by writing test for strings, vectors and other custom structures and their methods. For that we can use some testing framework like https://libcheck.github.io/check/

grafin avatar Nov 29 '21 12:11 grafin

OK, I'll take this

0x501D avatar Nov 29 '21 13:11 0x501D

~~Implement after closing #97~~

0x501D avatar Nov 29 '21 13:11 0x501D

Totally agree, we can start by writing test for strings, vectors and other custom structures and their methods. For that we can use some testing framework like https://libcheck.github.io/check/

I strongly recommend taking a look on CMocka for unit testing. https://cmocka.org/

ligurio avatar Nov 29 '21 13:11 ligurio

Thanks, I'll take a look at the cmoka.

0x501D avatar Nov 29 '21 18:11 0x501D

Closed in #131

0x501D avatar Nov 14 '22 20:11 0x501D