.Net Bridge example

4 views
Skip to first unread message

François Thillen

unread,
May 30, 2013, 12:21:49 PM5/30/13
to openen...@googlegroups.com

Hallo,

 

I had some time to have a look on the automatically execute an example of the loom-csharp. Unfortunately, it is a little bit difficult because msbuild has to be invoked first, followed by the exe that has been created in {project.folder}\bin\release (or Debug, x86 (depence on the compile parameters))\ServiceTestConsole.exe. The tests has to be invoked with mstest.

 

There are two ways to solve this.

·         Write a new maven wsdl plugin that executes the commands.

·         Use a maven plugin that executes windows commands

In both it is difficult to find the commands (Same problem as in the wsdl2dll plugin) and as further requirements, Visual Studio and nuget has to be installed.

 

Altogether, I am not sure if this brings a benefit. I think that if VS is required, then it is faster to open the project and execute it then parameterizing the maven plugin and execute it.

WDYT?

 

Best regards

François

Andreas Pieber

unread,
May 30, 2013, 10:46:08 PM5/30/13
to OpenEngSB
I'm curious here. In the Webdevelopment (and luckily still quite Java dominated world) there's a lot of effort invested to allow headless end-to-end tests (e.g. using selenium together with phantomjs). Is there no way to use headless end-to-end tests? Even if they arent headless are .net engineers not interested into validate their applications from one end to another without human interaction?

Kind regards,
Andreas


--
You received this message because you are subscribed to the Google Groups "OpenEngSB developer discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openengsb-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

François Thillen

unread,
Jun 8, 2013, 11:57:52 AM6/8/13
to openen...@googlegroups.com

Hello,

 

I just did some resource. I found a .Net implementation of selenium with also supports Nuget.

http://seleniumtoolkit.codeplex.com/

For phantomjs is also an .Net implementation.

http://michael-whelan.net/using-phantomjs-with-webdriver

 

There are free tools (http://stackoverflow.com/questions/10161413/headless-browser-for-c-sharp-net) and commerial tools, which are expensive. (starting at 1000 euro)

 

However, If you want to execute the tests without VS, then there are only two possible ways (What I found):

·         Using nunit

·         Using mstest

Both requires that the path to the command have to be present.

 

I think that this does not helps us so much, or?

 

Best regards

François

Andreas Pieber

unread,
Jun 11, 2013, 7:04:00 AM6/11/13
to OpenEngSB
using mstest sounds perfectly reasonable to me. This allows a dev to run the full suite from his development environment, but also a potential integration test server, like ms team foundation.

In addition we've some option to fully verify that everything still works as expected.

BUT, what do you want to test using selenium? XLink?

Kind regards,
Andreas

François Thillen

unread,
Jun 12, 2013, 4:42:50 PM6/12/13
to openen...@googlegroups.com

It was just to give a little feedback about the testing frameworks in .Net J. We maybe could use it for Xlink.

Andreas Pieber

unread,
Jun 14, 2013, 1:38:43 AM6/14/13
to OpenEngSB
how many hours do you think it would require to setup a completely automated xlink test case?

Kind regards,
Andreas

François Thillen

unread,
Jun 15, 2013, 5:47:17 PM6/15/13
to openen...@googlegroups.com

MMh, well I think I will need around 2 days. Depending on my freetime.

 

I have some questions about the testing the xlink. How shell we mockup the OpenEngSB. i.e create/register/deregister/delete connector?

 

Best regards

François Thillen

Andreas Pieber

unread,
Jun 16, 2013, 5:40:13 AM6/16/13
to OpenEngSB
I think its best that we discuss this in a more direct manner (skype/irc) and come back to the list once we've aligned our thoughts on this a little bit.

Kind regards,
Andreas
Reply all
Reply to author
Forward
0 new messages