I'm using NUnit for testing back-end. Unit tests are being executed while building (I'm using TeamCity for continuous building).
Now I hove to test front-end (Silverlight 4.0). Because the tests are being executed while building, I have to simulate browser (TypeMock - is not free, isn't it?) could I use NUnit.Mocks somehow?. How to use NUnit for Silverlight testing? I've found WHITE framework could it help?
Any other advises about software/frameworks to use for Silverlight unit testing?
Check out StatLight...
"StatLight is a tool developed for automating the setup, running, and gathering results of Silverlight unit tests. StatLight helps to speed up the feedback cycles while practicing TDD/BDD/(insert your test style here) during Silverlight development."
http://statlight.net/
As an alternative, here is an nUnit port for Silverlight:
http://greenicicleblog.com/2010/04/27/nunit-for-silverlight-updated/
Related
We are developing mobile games based on Adobe AIR and stage3D technology.
Is there any possibility to do unit tests, integrations tests, UI testing in such applications?
Are there any continues integration tools? Jenkins plugins or anything else?
After some researches we've found several tools for AS3 Unit testing but most of them are supposed to be used with FLEX apps.
Thanks.
Everything supposed to be used with flex - can be also used with pure as3 (of course I'm not talking about flex-specific libraries/framesworks, but most of them like Robotlegs or Parsley are pure-as3/mxml compatible).
So you can freely use Apache Flex compiler with Maven/graddle+flexmojos for CI, flexunit for unit testing (FlexPilot for UI tests, but not sure if it is ready-to use library for AIR, anyway it is open source, so you can adapt it to AIR)
I'm a windows phone developer.
I found a very excellent tool Silverlight Unit Test Framework to do unit test.
But, I want to do some automated tests for each function by inputting random data (like stress test).
There is a tool called Pex that can do that things for me, but it does not seems to support WP7 right now.
Is there a tool like Pex that can do stress tests on WP7?
There are currently no stress testing solutions for Windows Phone 7, see this related question:
https://stackoverflow.com/questions/4137528/ui-automation-for-wp7
https://stackoverflow.com/questions/6028566/is-ui-automation-possible-on-windowsphone7
I have just recently started carrying out unit testing for my software written in Visual Studio 2005 using Google Test Framework. Alongside, I have come across this tool to carry out code coverage known as: Coverage Validator. I am intending to monitor my unit tests using this Coverage Validator software but looks like it does not support Google Test Framework yet. It can carry out the monitoring using CPP unit but I was unable to find any documentation or way to do the same via Google Test. Is there a way through which I could achieve this?
I don't know Coverage Validator, but in general I don't see a reason why ANY coverage tool for CPP would need to officially 'support' ANY decent unit-test framework- it should just work...
We are starting to build infrastructure components in JSF2.0.
What is the best approach for unit testing them?
I tried JSFUnit in the past but wasn't satisfied with it. Is there an easier way to implement it?
This may be more integration testing than unit testing, but if you want to see how your components work in an actual browser, the selenium project has some nice features, and you can do it all through unit tests. You can look it over here: http://seleniumhq.org/docs/03_webdriver.html. I've found that between regular unit tests, unit tests using jmockit or the like, and selenium, I can cover pretty much everything when testing my components.
Cheers,
Bill
I would like to know what a Unit test and Web Test is in the .NET Framework and What are the difference between these tests? and How does it affect with the implementation of the CSLA.NET? Please help, thanks!
I guess you're referring to using MSTest under Visual Studio where they have two modes - testing of code or testing of web site via http calls.
When developing in .NET a developer can choose from several Unit Testing Frameworks such as MSTest - NUnit, MBUnit, XUnit etc. for more information have a look at this question.
The term Unit Testing refer to a broader field - you can read about it here.
Unit testing refers to the programmer writing simple small tests to verify his code actually work and as such does not effect the implementation of CLSA.NET.
I would like to know what a Unit test
and Web Test is in the .NET
Do you mean, what unit tesing frameworks are there for .NET ? I recommend you NUnit