Bindings to use Cucumber with C - c

Are their any bindings to use Cucumber with C? Google keeps telling me about vegetables when I ask.

It's possible to make Ruby bindings to a C application, but I haven't heard of any C binding for a Ruby application. It seems quite hard to make something like that.
BTW, cucumber docs lists all available ports and way to use their technology in an other langage.
There is :
Java Virtual Machine: JRuby and Java
.NET (Microsoft.NET and Mono):
IronRuby and .NET, IronRuby and Mono
Adobe Flex: FunFX, Melomel
Python
Erlang: cucumberl
Web apps in any language, using web browser and/or Javascript.

I am Using Cucumber for while and I could not find any C binding. As Ruby is top of the C.you can try to convert it.
for more info goto www.cuke.info or https://github.com/cucumber/cucumber/wiki/

Related

Can UI components built by codenameone export as library to all other languages such as C#, Objective-C and Java?

I am surveying a cross-platform tool, and seems codenameone is a good choice for build an APP with WORA feature.
And I know codenameone have high extension capability to create extensions by add cn1lib format interfaces to translate many other language libraries to be interact with codenameone. (Is this statement true?)
But if I am developing a SDK which have UI components, how do I export this library to other mainstream languages such as C#, Objective-C, Swift, Java on Android, C++, C, JavaScript, ...... I know I of course have to create interfaces to bridge different language. How do I export SDK built by codenameone to work like that?
Thanks your kindly help.
No. Codename One is designed to build complete apps. Libraries/SDK's for native projects are a different beast and they require native code.
I don't like saying "never" but this is probably not something that we would be able to address. Codename One has features such as GC (Garbage Collection) which wouldn't play nicely with a native app if it was packaged as an SDK.
The only cross platform tool that's designed for building SDK's (that I am aware of) is J2ObjC which is designed for sharing common Java library code between iOS & Android. I haven't used it much so I can't really say much about it.

Automatic PL/SQL Webtool kit based application using selenium

I am a newbie in Automation testing and have recently started learning selenium.
We have a Oracle PL/SQL Web tool kit based application. The Interface is used in Internet explorer.
I wanted to know if this UI can be automated with Selenium?
Thanks
Absolutely!
Generally speaking it does not really matter, what toolkit you use when testing with Selenium.
We also have a mod_plsql based application and use Selenium for our UI and integration tests.
The important decision is what environment and language to use when writing the tests. We started by using the Python bindings (https://selenium-python.readthedocs.org/en/latest/index.html) but now moved to the JavaScript WebDriverJS (https://code.google.com/p/selenium/wiki/WebDriverJs) running on NodeJS. The hard think with JavaScript that not only the tests are async but the driver itself as well.
I would start with the language you feel most comfortable with.
... and good luck: it's quite a challenge to write good tests in Selenium!

Only dynamic silverlight code without any server compiling

Is it possible to only use a managed dynamic language such as javascript in a Silverlight application, with no server side compilation before deploying to the client? I'm looking for 0 server side compilation of any code here - would like the entire application to be 100% compiled/interpreted in the browser. I skimmed through the DLR specs but I didn't notice such an option.
Technically the answer is yes. Silverlight is a pure client side technology that runs a cut down, secure CLR in a plug in. The Silverlight API is accessible scripting languages including Javascript, F#, IronPython and IronRuby.
However, it is questionable whether you should progress because there doesn't seem to be any community or support around this. Furthermore, Silverlight is in support mode and you have to consider whether it is worthwhile investing your energy in such a dimly lit corner.
There are a few technology demonstrations by Jimmy Schementi here. Also check out the references in DLR Wikipedia entry. The old silverlight forums used to have an entire subforum dedicated to Javascript and Silverlight. This is now gone. Consider that as a warning if you decide to progress in this direction.
A few years back, there was an SDK that included a working IronPython and IronRuby with Silverlight, some demos and build scripts. Look for Chiron, which packages scripts and xaml into a single .xap (zip) file. This is in the DLR. There were some cool examples which demonstrated a python and ruby interpreter running in the client side in a Silverlight plugin.
Alternatively, you can develop most of your application in a typed language and then expose parts of it to javascript via a Javascript bridge. The MSDN has some short write up on how to do this.

Library for drag and drop to specific areas

What library can I use to implement the following kind of functionality
on Linux:
http://www.flickr.com/photos/65774455#N08/5983551492/in/photostream/
http://www.flickr.com/photos/65774455#N08/5983551494/in/photostream/
My goal is a locally installed app so stuff like JQuery is out of the question.
Preferred languages are C, Perl. But it doesn't have to be strictly confined to those 2 languages.
Any hints to which part of the library I should look at will be deeply appreciated.
Thanks!
In case your question is still up to date:
You could take a look at QT, which is a very good gui framework (KDE is built on top of QT) http://qt.nokia.com/. It really has tons of features and stuff, and you can of course build GUIs that support drag & drop. The framework is in C++ though.
The GTK framework (base of the gnome desktop environment) has C as well as C++ libs (http://www.gtk.org/).
Of course there are other gui libraries and frameworks for linux (http://en.wikipedia.org/wiki/List_of_widget_toolkits), I for one, would always choose QT over any other framework, because the API and documentation is really great.

Can I make a GUI using NetBeans but implement functionality using C?

I want to use NetBeans to build the GUI for my project, but implement the functionality using C code. Is there any way I can make the C code run when a button in the GUI is clicked?
I believe you can use standard JNI with netbeans.
Here's a link for version 6.0, (http://www.netbeans.org/kb/60/cnd/beginning-jni-linux.html) which I hope still applies for 6.5.
Once you set up a basic JNI C-library with the appropriate headers, it's pretty easy to use from the java side. And once you have that much done, it's even possible to throw Java Exceptions from the C code (http://www.codeproject.com/KB/debug/jni_ex.aspx)
But you should take note that if you're sending a lot of data back and forth, the overhead of the JNI data passing could be greater than the gain of using C for your speed-critical sections.
Cheers
You could use Java Native Access (JNA), a new technology. With JNA, Java applications can dynamically access native libraries from Java without JNI. JNA allows you to call directly into native functions using natural Java method invocation.
The project home page is here:
https://jna.dev.java.net/
Wikimedia article:
http://en.wikipedia.org/wiki/Java_Native_Access

Resources