Menu
Logged-In As
ACCOUNTNot Logged In
Create a utility library (LIBBU) API unit test ... for avs.cBRL-CAD
Status: ClosedTime to complete:
48 hrs
Mentors: Sean
There are more than 300 library functions in our core LIBBU library. As a core library used by nearly every one of BRL-CAD's tools, testing those functions for correct behavior is important. This task involves implementing a new unit test for any of LIBBU's source files that do not already have a unit test defined. The test should run all of the public functions and be hooked into our build system. We have lots of existing unit tests to follow as an example. You can implement this task in any language you like, but you'll have to bind all of the functions you test. References:
Code:
|
I would like to work on this task.
Hi,
Is it necessary for me to write tests that are parameterised? By that I mean that you supply data using the CMakeLists.txt. For this test (testing the attribute/value set) I don't think it will be very easy...
(Looking at some of the existing tests I think some like the redblack test and the timer test have only one test definition)
Thanks,
Lachlan
This task has been assigned to Lachlan P. You have 48 hours to complete this task, good luck!
Hi Lachlan, it depends on what you're testing but in general no. It doesn't have to be parameterized but strictly speaking, it'd still be parameterized just with zero parameters. ;)
The work on this task is ready to be reviewed.
Sorry, I missed something and therefore resubmitted the patch. Please use the latest :-)
Thanks,
Lachlan
Still have to commit the patch, but a manual inspection looks great. Nice work.
You may have already provided it elsewhere, but I don't see it in my notes. If you provide your full name, we'll credit you accordingly in our authorship documentation.
Congratulations, this task has been completed successfully.
Hi,
Thanks for that (very hard to be patient waiting for it to be checked...)
Lachlan Phillips, if you need it, but I think its already in the AUTHORS file from a previous task.
Thanks,
Lachlan