Welcome to Dream.In.Code
Become an Expert!

Join 149,489 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,284 people online right now. Registration is fast and FREE... Join Now!




Unit Testing

 
Reply to this topicStart new topic

Unit Testing, Testing Frameworks

skyhawk133
19 Mar, 2007 - 12:58 PM
Post #1

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 15,262



Thanked: 61 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
Do you create your own test framework when writing apps or do you use an existing one?

Here is a list of unit testing frameworks: http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks
User is online!Profile CardPM
+Quote Post

1lacca
RE: Unit Testing
20 Mar, 2007 - 01:15 AM
Post #2

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
I use JUnit, but recently I was evaluating the solutions to test web apps.
There is a plethora of solutions out there, and they are really exciting. I didn't see them on the Wiki page above, so here comes just a few of them (these are mainly Java based, but not exclusively):
- Watij - a remote control for IE (check if things are present on a page, submit forms, get data from the page, etc. )
- MaxQ - acts as a proxy between the browser and the webapp, and records the traffic, so it can be replayed later (regression test, validation)
- actiWATE - emulates the browser (javascript, AJAX, access HTML data, JUnit integration)
- JWebUnit based on JUnit, can be used for testing webapp correctness, etc. the underlying engine can be swapped (only HtmlUnit is available right now)
- HttpUnit - another browser emulator

Does anybody use any of these on a daily basis?
User is offlineProfile CardPM
+Quote Post

salindor
RE: Unit Testing
21 Mar, 2007 - 06:25 PM
Post #3

D.I.C Head
Group Icon

Joined: 10 Nov, 2006
Posts: 156



Thanked: 4 times
Dream Kudos: 50
My Contributions
Actually I tend to write my own.

I breifly looked very briefly into JUnit and decided I could write my own throw away faster than I could learn JUnit.

But then again, I use to get made fun of because I would write programs to scan and rewrite my programs....

Salindor
User is offlineProfile CardPM
+Quote Post

iAndrew
RE: Unit Testing
21 Mar, 2007 - 08:49 PM
Post #4

New D.I.C Head
*

Joined: 21 Mar, 2007
Posts: 1


My Contributions
I'm using NUnit for my projects.
Simple and powerfult toy.
User is offlineProfile CardPM
+Quote Post

mmk01569
RE: Unit Testing
11 Apr, 2007 - 05:10 PM
Post #5

New D.I.C Head
*

Joined: 11 Apr, 2007
Posts: 2


My Contributions
I use nunit, all tied together with nant and cruise control.net
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 05:19PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month