Omgili - forum search, search forums  
  

Discussions about unit testing

Displaying 1 - 10 out of 113,152 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 ....
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.
(Leaving aside hair-splitting about if this is integration-testing or unit-testing.) I would rather first test at the large scale. If my app writes a VRML file that is the same as the reference one then the VRML exporter works, I don't then have to run...
Started by on , 4 posts by 4 people.  
Unit tests (....
The nature of unit test code; your statement that If my app writes a VRML file that is the same, but note that this type of test is strictly different than what a unit test actually is.
I have recently heard of Functional Testing over Unit Testing. I understand that Unit Testing tests each of the possibilities of a given piece of code from its most atomic form. But what about Functional Testing? This sounds to me like only testing if...
Started by on , 8 posts by 8 people.  
Unit testUnit testing....
Unit testing is there to test small that isn't necessarily user-facing), unit testing may be what you really ought to do.
There is a place for both in most development work .
Practices.
Ask your Facebook Friends
I am starting out with automated testing and I would like to test one of my data access methods. I am trying to test what the code does if the database returns no records. Is this something that should be done in a unit test or an integration test? Thanks...
Started by on , 11 posts by 11 people.  
It really depends upon how much code....
But there is a blurred line here.
This then is a "unit test", because you are testing how the class under test behaves, in a closed system whereMost likely a unit test ...
I am new to testing and mocking. I'm trying to test a business logic class which performs calculations, calls into the DAL and updates the database, and manages transactions. I'm using mocks to do unit testing, but how does full integration testing fit...
Started by on , 3 posts by 3 people.  
The important thing to know is that unit testing (in TDD) is not much about testing as it's about....
In testing you have unit tests, CSC testsPretty much.
Step if you wanted to however and do a process test.
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....
The best practice of a Unit test is not to test the asmx file, but the parts (units) behind the asmx file.
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.  
You want unit testing to validate and verify a....
Having various tiers (levels) of unit testing you want to test is the unit that makes sense.
In isolation, and then test how they interact in combination.
Hello, I don't understand how an unit test could possibly benefit. Isn't it sufficient for a tester to test the entire output as a whole rather than doing unit tests? Thanks.
Started by on , 16 posts by 16 people.  
Unit testing that are easier....
High level testing (functional, acceptance) is a QA tool.
Then when testing a unit test suit is.
And write a tiny test than to drive a complex program through to the bug point.
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.  
You could take a look at T4 Templating.
I think the test template is located here: C:\Program Files\Microsoft Visual to generate the test file at runtime probably using code dom.
Installation options.
First of all, I am aware that this question is dangerously close to: http://stackoverflow.com/questions/1231860/how-to-mappath-in-a-unit-test-in-c I'm hoping however, that it has a different solution. My issue follows: In my code I have an object that...
Started by on , 5 posts by 5 people.  
Since it is a web site that ....
For example, testing how ValidatePath() handles a missing the test is called, it loads the URL with the specified unit test in the page load.
Then test the various methods independently.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost