4 Topics

Member Avatar for
Member Avatar for krystosan

I have a method that does not return anything , but it makes a call to another method that returns a value like def apply(): #set some defaults try: script = _getScript() except Exception, ex: raise Exception(ex) node = [xyz for xyz in myLst] # myLst is a global list …

Member Avatar for krystosan
0
3K
Member Avatar for pilsdumps

Hi, I've a unit test for a protected method that contains a ref parameter. The method to test looks like this: [CODE] protected void Select(ref int? intReturnValue, ModelBase modelbase) { ...some code.... //add the return value SqlParameter paramReturn = new SqlParameter("@ReturnValue", 0); paramReturn.Direction = ParameterDirection.ReturnValue; sqlComm.Parameters.Add(paramReturn); //run the proc sqlConn.Open(); …

Member Avatar for BWPro
0
2K
Member Avatar for Teiji

Hi, I was checking out the unittest module and try out the sample code. I save the code below in a file call "testrandom.py" and run it using IDLE (Python's default IDE), but I get the following in red. Obviously, the tests run fine as indicated by OK, but why …

Member Avatar for TrustyTony
0
362
Member Avatar for redrose123

Can any software testers out there help? I've noticed a lot of job adds asking for a tester with c# experience. I would like to learn a new language and apply it to software testing. Please can you tell me the type of programs testers creating in C#? Thanks, RedRose123

Member Avatar for kvprajapati
0
121

The End.