Hi,
is there a way to do automated unit testing of code involving the TWAIN API of GdPicture, without actually having to scan anything? I guess/hope that the developers of GDPicture use something like this internally.
Thanks!
Unit testing of TWAIN code
Re: Unit testing of TWAIN code
Hello,
You can use a virtual data source. Here an example: http://sourceforge.net/projects/twain-samples/
Kind regards,
Loïc
You can use a virtual data source. Here an example: http://sourceforge.net/projects/twain-samples/
Kind regards,
Loïc
Re: Unit testing of TWAIN code
Tried that one, but it always returns exactly the same image. I want to be able to control the images that are returned, otherwise it's not useful to me.
Who is online
Users browsing this forum: No registered users and 1 guest