o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

How to traverse class properties for Nunit tests -

Hi
I am working on a project in which I need to NUnit testing. To do that I need to write tests for each class. I am trying to automate that process.

1. How to know names of public properties of class in .Net dynamically?
2. I am also looking for property types to set some default values.
3. There might be nested classes also. I am wondering how to traverse that nested tree?

Please advice. Thanks
Pankaj

 

How to traverse class properties for Nunit tests -
Hi I am working on a project in which I need to NUnit testing. To do that I need to write tests for each class. I am trying to automate that process. 1. How to know names of public properties of class in .Net dynamically? 2. I am also looking for property types to set some defaul


NUnit for testing Anyone use it -
The title says it all, I just was wondering if anyone is using NUnit in their application development? If so, how is it working out for you? Do you find it hard, or easy to implement? Does it really limit the bugs like they say it does? If you are wondering what NUnit is, you c


Anyone use NUnit -
I have d/l NUnit to automate unit testing in our .Net environment but I can't find a NUnit user forum. It's quite popular so I can't believe there isn't a forum out there. Does anyone frequent a NUnit forum?


NUnit VB.NET -
I am using NUnit to test my VB.NET dll. My dll requires an XML file to be loaded when an instance of the dll is created. When running Nunit it tells me it can not find the XML file??? If any one could help that would be great.


[2005] testing -
which tools are available that allow you to test your ASP.NET application? How do they work? I know there is NUnit but never really used it and dont quite understand how to use it even after reading the docs anyone know of any other tools or how NUnit really works and how to create


Nunit code for girdmethod -
hi i have a method in c#.net in which i m binding grid with data but i have to write a Nunit Test case for this method please any one tell me the Nunit code for testing grid binding..? Method looks like this.. bindgrid() { DG_CauseReport.Visible=true; DG_CauseReport.DataSource=Ds


Unit Testing Thoughts -
Firstly, I know there's a testing sub forum but I'm talking about unit testing my functions and methods as a developer rather than QA testing (which I think is the focus of that sub forum) so I suspect this forum's more apropriate. If not, could a Mod move this for me. Thanks. I'v


Returning Recursive values -
I know this might be a simple recursion question to some of you but I'm just a beginner to VB and to the whole programming world so please bear with me if my question seems a little bit dumb.... Lets say you have a search tree structure and you want to traverse the the tree to get a v


[2005] Traverse a TreeView -
Hi All, I would like to ask how to traverse a TreeView. Private Sub showTree (TreeView t) ‘display a treeView to the screen which structure is an unknown End Sub Mike


[2008] need help abt MCSD -
Hey all, I have a question from you all. I was thinking to have my mcsd by the end of this year. But later I got to know that many of MCSD, supposedly most of what I was supposed to take, are retiring in march 2009. I am not sure what to do? Either Should I go ahead and take tests or


Expert Questions -
1. The Data and processes acting on that a class constitute a class ____ . a. Interface b. Module c. Method D. Property 2. Assuming the Tests is a collection, which of the following statements is legal? a. Set Test = Tests.Item("Item1") b. Set Test = Tests("Item


VB win app + nunit testing -
Hi everyone! I'm no VB programmer but I'm investigating approaches for a migrating project. I've been looking at NUnit and creating testcases prior to the migration by building a component att then creating the testcases in .NET (inspiration from http://integralpath.blogs.com/t


Need help in sql statement -
Hello everybody, I need help in writing sql statement to traverse data. For example if I have a table that contains family information where there is a PersonID and ParentID where parent is also a person, how can I traverse person, say if I need to find all the parents of a person


Wait for .net to get MCSD -
Probably another month or so of casual studying and I am confident that I could pass the MCSD. I'm just wondering is it worth the ($400 i think) to take the 4 tests now when .net is coming. I wonder if I'll have to take 4 more tests to upgrade my cert when the time comes or will be


C# - More Advanced String to Date Parsing -
The code will parse a date string that a user enters into a datetime variable. I needed a way to parse the dates as just numbers as well as the normal formats that include seperators. You will notice I have included a test to prove that my method works. This is from Test Driven De


Excel Column traversing -
I have 216 colums, and I need to get the sum of each column. Is there any way for me to traverse through each column? Here's the info I have, and what I'm trying to do: 1. my rows are a variable (ex:146) 2. I have 216 colums 3. I need to get the sum of 146 rows in each column


programming tests -
are there any sites that have good vb6 or vb.net tests or quizes(Free)?


Traverse Listbox Items -
Hi all, I have a databound listbox and I want to traverse all the items in the listbox with a loop. For example, I want to print all the items of the listbox in Message Boxs one by one. Thanks.


Design FORM during runtime -
I am thinking of developing application of Pharmaceutical testing laboratory. There are 300+ products to be tested and no of test to be carried to check whether product is GOOD or NOT. There are tests such as Description, Assay, pH, Loss on Drying, Solubility, Ash Test,Normality....


Traverse 2D array [resolved] -
Hi I have a 2D array : imageTileArray and I would like to traverse it i.e. visit every entry in the array sequentially. I've had a go at doing it myself as follows but i get address violations: for(i=0; i < sizeof(imageTileArray[i]); i++) { for(j=0; j < sizeof(


Quick Question Treeview -
Hi! Can anyone give me a function like this: vtAdd(strNode,strChild){ } This function should add the strChild as a child node of the strNode node. Im thinking I should traverse through the tree to check for strNode and if its there traverse through the children and place it at


Number of Files Object -
When I do a right click properties on any windows directory, I get the number of files and folders. Isn't this available in an object for VBSCRIPT rather than having to traverse directories and do counts?


DataSource and DataMember -
Hi!!! I am trying to build an ActiveX that the user can supply it a DataSource and a DataMember and then it shows all records of appropriate recordset. I have some problems doing that. The first one is, that I need to get the recordset object by using the DataSource and the DataMembe


adding new users and groups -
As the QA coordinator in a software development company, I have to frequently set a series of tests on a clean machine. I built an installation program in VB 6 that automatically installs the scripts and modifies the tests according to some parameters but there is a last thing that my


Traverse shapes on drawing canvas -
Hi I have a drawing canvas in word which is a collection of shapes. For instance if I click on one of the shapes in the drawing canvas I can format it. How do you traverse all the shapes in the drawing canvas object?


Online IQ Tests -
Can anyone point me to a free IQ test that i can take online. I took the ones offered by Tickle and Brain a while ago so im looking for one that is offered by someone else. Please don't tell me to Google cause i did that and after taking two tests from two different sites they told me


Need Transcender tests for 70-176 exams -
If anyone in USA has Transcender tests for 70-176 vb6 desktop exams and can lend it for a few days, please email me at subtees@hotmail.com. I would highly appreciate it. I will bear the postage charge. Thanks in advance.


Pentium 4 a POS -
I just got a 2.4 GHz P4 and ran some tests against my old 1 GHz P3 using a processor intensive application. Surprisingly, the P4 is only 38% faster. I was SHOCKED. I ran similar tests back when i migrated from P1 to P2 and then from P2 to P3. Each time the processor was more than


Where to take MCP / MCAD / MCSD Tests -
I've found several places to get info to study for my first MCP test. But I can't find where to TAKE the tests? I'll probaby have to take it in Atlanta Georgia because I doubt there is one in my city. Where/How can I find out where to go to take the test and the time they're schedu


simple code question -
mah k, i have drawn my program up and written out my code, but it just doesnt compile, im sure its some easy problem, im just too tired to see it, any way, this is my info. so far, im working on a program which calculates students averages and results in 3 tests out of 100 each. i


Fast bit tests -
Is it possible at all in C# to do fast bit tests? Lets say I have a byte or an int, is there some fast way to test if one of the bits are on or of? - ØØ -


Anyone take the skill assessment... -
The big MS ad got me, I clicked it (the one up in the right top corner). They have some skill assessment tests you can take on VS.Net or Win 2003. Has anyone done these? I took the first one late last night real quick and only got a 70%. I took only 20 minutes on it, but it said


Return a value from a stored procedure -
Hi, How would I execute a stored procedure on my SQL server which accpepts a parameter, and returns a float. (I have written the stored proc, but am unsure how to call it in VB) Thanks <This is the sproc> CREATE PROCEDURE sp_PlatformFolderPercentageComplete @Platfo


Programmer aptitude tests -
Anyone know of any sites where one can downloads free programmer aptitude tests


How smart are you -
Take the test here: http://www.studentcenter.org/tests/intelligencetest.php


How traverse the NAT with winsock -
I resolved, I thank you all


Does everyone get tested this way in computer science class -
It seems that a lot of high school computer science classes still use visual basic 6 for learning to program. At my school, our tests have these things called "output questions" where you have to follow the code and write down the output. The only problem with these is that m


TDD is such a burden - am I doing something wrong -
I've tried TDD on two projects so far. These are relatively small projects I've done myself over a few weeks, just to practice TDD. Anyway, TDD is supposed to make refactoring simpler because you can see right away if you broke anything. However, if I so much as add a parameter to a


Need help with query -
I have the following 2 tables : QuestionBank(Qid,Question,OptionA,OptionB,OptionC,OptionD,Solution) Tests(TestID,Question,OptionA,OptionB,OptionC,OptionD,Solution) Now I'm picking up random questions from the Questionbank table & inserting into the Tests Table.There is a tex


Adding References Dymanically -
Hi All, I am a test engineer and I would like to write a windows application that is capable of sequencing a number of tests. The Tests are all .NET class modules compiled to dlls each module contains a number of methods. I would therefore like my program to 1) prompt the user