Click here to Skip to main content
15,885,198 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: 5 Questions every unit test must answer PinPopular
Marc Clifton7-Sep-15 9:50
mvaMarc Clifton7-Sep-15 9:50 
GeneralRe: 5 Questions every unit test must answer Pin
Sander Rossel7-Sep-15 12:17
professionalSander Rossel7-Sep-15 12:17 
GeneralRe: 5 Questions every unit test must answer Pin
den2k887-Sep-15 21:56
professionalden2k887-Sep-15 21:56 
GeneralRe: 5 Questions every unit test must answer Pin
Sander Rossel7-Sep-15 22:58
professionalSander Rossel7-Sep-15 22:58 
GeneralRe: 5 Questions every unit test must answer Pin
den2k887-Sep-15 23:09
professionalden2k887-Sep-15 23:09 
GeneralRe: 5 Questions every unit test must answer Pin
Kevin McFarlane8-Sep-15 0:53
Kevin McFarlane8-Sep-15 0:53 
GeneralRe: 5 Questions every unit test must answer Pin
thatraja7-Sep-15 9:51
professionalthatraja7-Sep-15 9:51 
GeneralRe: 5 Questions every unit test must answer Pin
Duncan Edwards Jones7-Sep-15 11:31
professionalDuncan Edwards Jones7-Sep-15 11:31 
A few more:

6) Make sure both "actual" and "expected" are initialised to non default values different to each other before the test runs*


* (Obviously this can't be the case if they are bools - in that case make sure actual is always initialised to the non-default case so it has to undergo a change in order for the test to pass)

7) Write negative tests too.
NewsHow to download the last three versions of Windows officially at no cost Pin
Kent Sharkey7-Sep-15 8:35
staffKent Sharkey7-Sep-15 8:35 
GeneralRe: How to download the last three versions of Windows officially at no cost Pin
Rob Grainger7-Sep-15 22:31
Rob Grainger7-Sep-15 22:31 
NewsKill the password Pin
Kent Sharkey7-Sep-15 8:32
staffKent Sharkey7-Sep-15 8:32 
GeneralRe: Kill the password Pin
Marc Clifton7-Sep-15 10:03
mvaMarc Clifton7-Sep-15 10:03 
GeneralRe: Kill the password Pin
den2k887-Sep-15 11:08
professionalden2k887-Sep-15 11:08 
NewsKnow your language: C rules everything around me (part one) Pin
Kent Sharkey7-Sep-15 8:30
staffKent Sharkey7-Sep-15 8:30 
GeneralRe: Know your language: C rules everything around me (part one) Pin
den2k887-Sep-15 9:41
professionalden2k887-Sep-15 9:41 
GeneralRe: Know your language: C++ rules everything around me (part one) Pin
ed welch7-Sep-15 11:34
ed welch7-Sep-15 11:34 
GeneralRe: Know your language: C++ rules everything around me (part one) Pin
Rob Grainger7-Sep-15 22:38
Rob Grainger7-Sep-15 22:38 
NewsGoogle Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
Kent Sharkey7-Sep-15 8:21
staffKent Sharkey7-Sep-15 8:21 
GeneralRe: Google Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
MehGerbil8-Sep-15 2:23
MehGerbil8-Sep-15 2:23 
GeneralRe: Google Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
MehGerbil8-Sep-15 2:23
MehGerbil8-Sep-15 2:23 
GeneralRe: Google Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
Dan Neely8-Sep-15 3:09
Dan Neely8-Sep-15 3:09 
GeneralRe: Google Chrome reportedly bypassing Adblock, forces users to watch full-length video ads Pin
Eddy Vluggen8-Sep-15 3:22
professionalEddy Vluggen8-Sep-15 3:22 
NewsDevOps: What could it do for your business? Pin
Kent Sharkey6-Sep-15 12:29
staffKent Sharkey6-Sep-15 12:29 
GeneralRe: DevOps: What could it do for your business? Pin
Duncan Edwards Jones6-Sep-15 22:03
professionalDuncan Edwards Jones6-Sep-15 22:03 
GeneralRe: DevOps: What could it do for your business? Pin
den2k886-Sep-15 23:45
professionalden2k886-Sep-15 23:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.