Omgili - forum search, search forums  
  

Discussions about unit

Displaying 1 - 10 out of 865,008 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I have a unit test called TestMakeAValidCall() . It tests my phone app making a valid call. I am about to write another test called TestShowCallMessage() that needs to have a valid call made for the test. Is it bad form to just call TestMakeAValidCall...
Started by on , 7 posts by 7 people.  
Having it call other unit tests makes it test more than....
You want your unit test to test one thing and one thing only A unit test should test one unit/function of your code by definition.
I think its a bad idea.
Other tests.
I am building a dedicated project for all the unit tests of our main project, since including them in the main project would put a strain on an already huge codebase. Now all the units of the main project are referenced in the project's dpr file with ...
Started by on , 4 posts by 4 people.  
Would be to have the first program generate a complete unit, and then use this unit in your test;open of an unit in the basedirs..
On Proggit today I was reading the comment thread on a submission entitled, " Why Unit Testing Is A Waste of Time ". I'm not really concerned with premise of the article so much as I am with a comment made concerning it: The stem of the problem is that...
Started by on , 10 posts by 10 people.  
I'd say a unit is the smallest meaningful portion of work that can be separated from other steps the data output the data Each of those steps would be a 'unit', and the entire series is itself also a 'unit' (to test that the cohesion....
Ask your Facebook Friends
Hello. I have problem. I ll try to explain it. I have a unit which has a class and may will have new functions. D3BF4E849ACC45249B990F802EFB1F15\UnitFile1.pas 8DC8977E7A7B469AACFE3CC77CA7075E\UnitFile1.pas Both of them have same class: IClass_1 = class...
Started by on , 5 posts by 5 people.  
Pick the correct unit in the correct folder , and from than on you can use just....
As far (right-click the project name and choose 'Add'.
You can't specify the unit paths in code.
And "F94C439C822E490DB228F2C16EF2C190" in the search paths.
Why isn't this allowed? type Foo() = static member Bar() = () let inline bar<^a>() = //ERROR: unexpected infix operator in pattern (^a : (static member Bar : unit -> unit)()) //Hypothetical usage: let _ = bar<Foo>() ...but this works fine...
Started by on , 3 posts by 3 people.  
Type Foo() = static member Bar() = () let inline bar< ^a when ^a : (static member Bar : unit -> unit) >() = (^a : (static member Bar : unit -> unit)()) let _ = bar<Foo>() From this we from your question ....
One of the problems I often run into, is that I will include ' Windows ' in my uses clause, and then I will later add ' JwaWinBase ' for some specific calls. However, many of the functions in the 'Windows' unit are the same as in JwaWinBase, and I start...
Started by on , 4 posts by 3 people.  
It will....
However, the function calls are handled in the reverse order they're in the uses clause, so that if you have this: uses Windows, JwaWinBase; .. .
There isn't.
Maybe it's enough to just switch the order of the two units in the uses clause.
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 on , 3 posts by 3 people.  
Brits don't get our own translation....
MUI is the scheme whereby the language of the OS is displayed in a specific language and is separate from things like number and date formats .
By default the CurrentUICulture property is driven by the Windows MUI setting .
I was watching Rob Connerys webcasts on the MVCStoreFront App, and I noticed he was unit testing even the most mundane things, things like: public Decimal DiscountPrice { get { return this.Price - this.Discount; } } Would have a test like: [TestMethod...
Started by on , 14 posts by 13 people.  
Thinking before doing is ....
Unit tests are there so that your units write the code.
Most unit tests, test who breaks the test (we are talking rubber chicken)).
A test can detect the problem.
Someone may change the discount code.
I'm just about done creating a web service that will be consumed by a non .NET internal custom system. I would like some advice on the best way to setup test classes and methods over an .asmx (best practices, how to test the calls, what not to do, etc...
Started by on , 5 posts by 5 people.  
If you can split up your code in small and separate pieces, then you can unit test those NUnit for that in the way you described....
The best practice of a Unit test is not to test the asmx file, but the parts (units) behind the asmx file.
I am increasingly annoyed by the unnecessarily verbose template that is used when I create a new unit test in Visual Studio (using the default, included unit testing framework). Instead of public ImportModelStateTest() { // // TODO: Add constructor logic...
Started by on , 3 posts by 3 people.  
I think the test template is ....
All of the item templates for visual studio are run from this directory: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates Of course c:\Program files may change depending on your installation options .
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
wall unit    unit di    control unit    di unit    Unit Group    UNit    traction control unit    tsx head unit    best m2tw unit    m2tw unit mod   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost