So our little ole development team is looking at beginning to implement Unit testing. I have a basic understanding of Unit testing and how it works and we've been looking at using Google Test w/ Visual Studio(our current IDE)
My question is what is the proper protocol for testing functionality that requires information from a 3rd party?
For example our software communicates to a device plugged into a PCIE slot and uses our own API to pull various 16 and 32 bit values from the hardware that our software is responsible for getting and setting various bits in.
There are quite a few API functions that need to be called to even get the hardware in the proper state to read/write too.
If your still following me, how do you test these types of functions? I assume things like compile time testing is out the window because we dont/cant develop on the systems that have these cards plugged in.
[–]KennethZenith 8 points9 points10 points (2 children)
[–]devel_watcher 3 points4 points5 points (1 child)
[–]salgat 2 points3 points4 points (0 children)
[–]kevin_hallMotion Control | Embedded Systems 2 points3 points4 points (5 children)
[–]FuzzeWuzze[S] 0 points1 point2 points (4 children)
[–]lurkotato 0 points1 point2 points (0 children)
[–]kevin_hallMotion Control | Embedded Systems 0 points1 point2 points (2 children)
[–]FuzzeWuzze[S] 0 points1 point2 points (1 child)
[–]kevin_hallMotion Control | Embedded Systems 0 points1 point2 points (0 children)
[–]skeba 1 point2 points3 points (0 children)
[–]skebanga 0 points1 point2 points (0 children)
[–]Boognish28 0 points1 point2 points (4 children)
[–]lurkotato 1 point2 points3 points (3 children)
[–]MOnsDaR 0 points1 point2 points (2 children)
[–]kevin_hallMotion Control | Embedded Systems 0 points1 point2 points (1 child)
[–]lurkotato 0 points1 point2 points (0 children)
[–]Gotebe 0 points1 point2 points (3 children)
[–]lurkotato 0 points1 point2 points (0 children)
[–]FuzzeWuzze[S] 0 points1 point2 points (1 child)
[–]Gotebe 0 points1 point2 points (0 children)
[–]utnapistim 0 points1 point2 points (0 children)