|
In the past I wrote most of my unit tests using C# even when the actual software development was in another .NET language (VB.NET, C++.NET etc.) but I could use VB to get the same results. I guess the only reason I use C# is because most of the examples...
Started by Dror Helper on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't really haveI write all my .Net....
I don't see what you would write your unit tests in a language other than write my unit test in the same language that I am developing the application.
Is comfortable for your dev team.
|
|
Unit tests have different requirements than production code. For example, unit tests may not have to be as performant as the production code.
Perhaps it sometimes makes sense to write your unit tests in a language that is better suited to writing unit...
Started by ctford on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
Unit tests can also be usedThe biggest tradeoff would be if someone was looking at using Unit Tests to figure out how a certain action may be performed, writing ....
So you have to refactor them manually.
Not for this other language.
|
|
I am trying to write some complicated acceptance tests for my C# code. I notice that when I am writing my tests I am doing a lot of explicit casting to satisfy the C# compiler. I like the type-safety I get in my production code with a statically-typed...
Started by Robert Lewis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you are looking for dynamic language you can try iron-python.
I prefer C# for unit testing...
|
Ask your Facebook Friends
|
At the moment I am working (just for fun) on a kind of compiler that breaks PHP -code down to a source code for a low level VM .
As the type system and a lot of of the PHP -features are not that logical I need a much testscripts to verify that my code...
Started by Hippo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
On how they test the validity of the language syntax and semantics against an existing implementation..
|
|
This answer hit a nerve with me on something I have never understood with how you handle parameter types in dynamic languages vs. a static language (my perspective being informed or deformed - as you prefer) from Java.
Given a method foo that takes a ...
Started by Yishai on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Use a "who calls" function....
The short answer is just 'more unit this easy.
It is the interface that matters not the type.
Parameters are effectively unit tested the expected result.
Of a refactoring question than a unit test question.
|
|
I'm in the UK, and I have a UK-bought version of Windows 7, with all settings I can possibly find set to UK (not US). When I run the following code:
Console.WriteLine(Thread.CurrentThread.CurrentUICulture.DisplayName); Console.WriteLine(Thread.CurrentThread...
Started by Danny Tuppeny on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Whereby the language of the OS is displayed in a specific language and is separate from things like.
|
|
What language is used to build low level languages like c++ and java?
How could you build the first language with no language?
Started by noname on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
If your next question is "how was the first assembler on Trusting Trust by... .
The central processing unit operates on a series of signals to which we refer as bits would have been hand-written in assembly language.
As "no language".
|
|
I've recently have started writing unit tests for PL/SQL code in Ruby.
Are there any other language combinations where you write your code and unit tests in two completely different languages?
Started by jva on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Unit....
The main advantage compared to the same unit tests written in C being the interactive Rub interpreter Boost to export classes.
I've seen unit tests written in Ruby for a C library wrapped with swig.
Programming languages.
|
|
I am a senior computer science major and I am required to do a self study on a specific language of my choice. I am currently familiar with C++, Java, VB, PHP, and Silverlight. I would not consider myself a master of any of these languages but I have ...
Started by johnnywhoop on
, 27 posts
by 27 people.
Answer Snippets (Read the full thread at stackoverflow):
I would suggest a different language entirely, something like: Haskell , Clojure , Scala , Erlang language, I suggest F# as it will be very different from what you already know, and with all (and will work very well with your C++ knowledge....
|
|
How to set UK language in MS word 2007 for always as default language?
Started by Jitendra vyas on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
When you have done that, you will see a window as shown on the right hand side and that the ... .
Select "English; Microsoft Office 2007 Language Settings.
The language selection dialog appears.
Click on the language in the status bar.
|