• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

embedded testing

chronodekar

Senior member
I'm working on an embedded system that I can access via telnet/ssh and I need to test it functionality. Does anyone know any good test suites I can use?

I'm looking for something that will let me define individual test cases, so that it will automatically log-in to my system, run some commands and scan the output. I need it to report back if things went smoothly or not.

NUnit is nice. But, that's only for .NET and I don't think it will let me do ssh connections. (But I really like it's reporting interface)

-chronodekar
 
Maybe it's just the fact that I've been up all night, but that seems like a pretty ambiguous question.
 
I'm hoping to use cppUnit for a [project but I don't know if I can use it on tactical hardware yet.

Is your goal automated testing of things like analog and discrete I/O interfaces? Removable memory device I/O? networks cards, etc?

As a maybe .... If all you are doing is testing the code, compile it under your development environment and test it there. The whole point of unit testing is to reduce the integrations errors, not eliminate them like some idiots think is possible.
 
Well, yes my objective is automated testing. The current manual setup means to login to the system using ssh run some commands, see if we get the required output and update our test-excel spreadsheet. There has to be someway of doing this automatically, and I'm wondering if anyone has any kind of test suite for it?

Colt45,

Sorry if I do seem ambiguous, but I find it hard to believe that I'm facing a rare scenario. But, that could just be my ego.

Still, any ideas guys ?

-chronodekar
 
Sorry I'm late; I've been busy IRL.

I hear that automated testing apps for terminal apps are few and far between. My former employer developed one for a specific terminal interface program; but I wasn't involved in that project, and licensing it would be expensive I'm sure.

If this is just a send-command-receive-result system, what dinkumthinkum posted seems like a good start. If you want a nice spreadsheet of results, and can write Java, FitNesse might be a good wrapper for send-command-receive-result procedures. Or if you prefer .NET, that can work too.
 
Back
Top