Unit testing, what do you think about it?
#1

Hey,

So, i have recently started creating a library that includes utility methods for working with dates and times.
I have had a couple of errors that i didn't notice because i didn't test the code properly (or i did it poorly), so i am now here to ask, do you test your code, if yes, how do you do it?
As for me, i now started to create my own assertion / test library containing some in my opinion useful macros and methods, if you want to, you can look at it here:

https://github.com/Bios-Marcel/Devel...r/DevTools.inc

Thias is how using it looks like:

https://github.com/Bios-Marcel/Date-.../unitTests.pwn

You can skip a whole test suite by using SKIP_TEST

Tell me what you think about it (it is about functionallity, not about performance!)

And no, i don't provide any guarantee that the code works perfect, if anyone intends to use it

greetings Marcel
Reply


Messages In This Thread
Unit testing, what do you think about it? - by BiosMarcel - 19.01.2017, 18:49
Re: Unit testing, what do you think about it? - by KingHual - 19.01.2017, 22:57
Re: Unit testing, what do you think about it? - by Mauzen - 19.01.2017, 23:23
Re: Unit testing, what do you think about it? - by BiosMarcel - 20.01.2017, 03:54
Re: Unit testing, what do you think about it? - by BiosMarcel - 20.01.2017, 07:11

Forum Jump:


Users browsing this thread: 3 Guest(s)