Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-02-2009, 11:32 AM   #1
Registered: Mar 2009
Distribution: Ubuntu, Fedora
Posts: 56

Rep: Reputation: 16
Question Unit Testing Frameworks for Bash Scripts - reg.


I would like to use a nice unit testing framework for my current project. I seem to use quite a significant number of bash scripts (not to mention that many of those were developed with the help of LinuxQuestions community! :P ) and I would like to know whether there is any way by which I could test them like any xUnit framework.

I did some preliminary search on this and I got ShUnit2. I tried gathering some tutorials on this but didn't get any.

It would be great if I could have some pointers or help on this framework. Also, are there any other unit testing frameworks better than the ShUnit2?

Thanks in advance!
Old 07-02-2009, 12:05 PM   #2
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Have a look at TET (Test Enviroment Toolkit). It is the used by many standards and specification testsuites. using TCL and Expect.


bash, unit

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nokia N810 Internet Tablet code unit testing LXer Syndicated Linux News 0 01-14-2009 02:20 PM
how to start testing frameworks bhagya Bluewhite64 0 04-01-2008 05:53 AM
Reg : developing scripts for linux server akash1234 Linux - Newbie 1 11-01-2007 10:51 PM
Reg : developing scripts for linux server akash1234 Linux - Server 3 10-31-2007 12:09 PM
how to write scripts for testing a appln using PERL sgayodhya Linux - Software 0 11-20-2004 04:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration