Omgili - forum search, search forums  
  

Discussions about unit testing

Displaying 1 - 10 out of 110,447 discussions.  
RSS Feed Options
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 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 ...
Ask your Facebook Friends
I've seen other people mention several types of testing on Stack Overflow. The ones I can recall are unit testing and integration testing. Especially unit testing is mentioned a lot. What exactly is unit testing? What is integration testing? What other...
Started by on , 9 posts by 9 people.  
Unit testing is simply the idea of writing (hopefully) small blocks of code to testoff the top of my head: unit testing in the sense of "testing the smallest isolatable unit with full knowledge of....
Microsoft.
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.
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.
We have created a common threading framework to manage how we want to use threads in our applications. Are there any frameworks out there like gtest or cppunit that solely focus on unit testing threads, thread pools, thread queues, and such? Right now...
Started by on , 3 posts by 3 people.  
Your own with one of the many unit test frameworks out there, but it would be hard to make it robust purpose programs =D so you won't find a specific unit testing framework for your specific problem :D After it trivial to ....
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