# Perspectives for unit and ui testing for Dynamic Silverlight

**URL:** <https://www.ruby-forum.com/t/perspectives-for-unit-and-ui-testing-for-dynamic-silverlight/134375>\
**Category:** IronRuby\
**Created:** [April 10, 2008, 10:54am UTC](https://www.ruby-forum.com/t/perspectives-for-unit-and-ui-testing-for-dynamic-silverlight/134375 "2008-04-10T10:54:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 10, 2008, 10:54am UTC](https://www.ruby-forum.com/t/perspectives-for-unit-and-ui-testing-for-dynamic-silverlight/134375/1 "2008-04-10T10:54:41Z")

</div>

Hi,

I just watched Jeff Wilcox videos about the Silverlight testing  
framework  
([http://www.jeff.wilcox.name/2008/03/20/vid-silverlight-control-ut/](http://www.jeff.wilcox.name/2008/03/20/vid-silverlight-control-ut/))  
and questions come to my mind.

Is this framework planned to be the “standard” testing framework for  
Dynamic Silverlight as well ? Or will we build upon the spec framework  
already in the IronRuby distribution ?

Writing this and after digging a bit inside the code, I believe we  
could do both ways: use the spec syntax and rely either on the UI  
testing framework or on mock objects, when relevant.

Any insight from the MS team ?

cheers!

## Thibaut

[blog] [http://evolvingworker.com](http://evolvingworker.com) - tools for a better day  
[blog] [http://blog.logeek.fr](http://blog.logeek.fr) - about writing software

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 10, 2008, 11:27am UTC](https://www.ruby-forum.com/t/perspectives-for-unit-and-ui-testing-for-dynamic-silverlight/134375/2 "2008-04-10T11:27:03Z")

</div>

I’m really interested in hear what the team have planned for testing  
and the DLR.

I’m planning on spending some time grokking this and see where the  
areas of concern are and whats actually there. It would be good to  
hear thoughts from the team.

Do you expect people writing Ruby to use RSpec\Test::Unit? Or would it  
be better for a existing C# unit testing framework (NUnit\MbUnit) to  
have some DLR support?

Regards

Ben  
[Blog.BenHall.me.uk](http://Blog.BenHall.me.uk)

On Thu, Apr 10, 2008 at 9:53 AM, Thibaut Barrère

---

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 11, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/perspectives-for-unit-and-ui-testing-for-dynamic-silverlight/134375/3 "2008-04-11T16:28:37Z")

</div>

Ben H.:

> Do you expect people writing Ruby to use RSpec\Test::Unit? Or would it  
> be better for a existing C# unit testing framework (NUnit\MbUnit) to  
> have some DLR support?

There are folks today who are very interested in using IronRuby to test  
existing C# code. I know that Phil H. would love to test [ASP.NET](http://ASP.NET) MVC  
using Ruby tests - see his recent blog post here:

> **[My First IronRuby Unit Test Spec For ASP.NET MVC](https://haacked.com/archive/2008/04/09/my-first-ironruby-unit-test-spec-for-asp.net-mvc.aspx/)**
>
> Way down the road, it would be nice to be able to build ASP.NET MVC applications using a DLR language such as IronRuby. However, enabling DLR language support isn’t free.

I need to do a better job at helping folks out with scenarios around  
IronRuby, but to be blunt my hands are kind of full just getting the  
language and libraries to work!

Remember - we do have full time positions open for IronRuby devs on my  
team 🙂

Thanks,  
-John
