Click here to Skip to main content
14,332,125 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
PeejayAdams4-Jun-19 23:21
memberPeejayAdams4-Jun-19 23:21 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
Kornfeld Eliyahu Peter5-Jun-19 0:14
mveKornfeld Eliyahu Peter5-Jun-19 0:14 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
PeejayAdams5-Jun-19 0:24
memberPeejayAdams5-Jun-19 0:24 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
NeverJustHere4-Jun-19 23:53
memberNeverJustHere4-Jun-19 23:53 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
Eddy Vluggen5-Jun-19 0:06
mveEddy Vluggen5-Jun-19 0:06 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
F-ES Sitecore5-Jun-19 0:43
mveF-ES Sitecore5-Jun-19 0:43 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
Eddy Vluggen5-Jun-19 0:47
mveEddy Vluggen5-Jun-19 0:47 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
Sander Rossel5-Jun-19 0:40
professionalSander Rossel5-Jun-19 0:40 
[TestMethod]
public void QuestionIsAnsweredCorrectly()
{
    var question = GetQuestion();
    var answers = question.GetAnswers();
    var isCorrect = answers.Any(a => a.Body.Contains("duplicate") || a.Body.Contains("Google") || a.Author == "Jon Skeet");
    Assert.IsTrue(isCorrect);
}
Directly taken from the StackExchange source code Big Grin | :-D

GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
Dan Neely5-Jun-19 3:18
memberDan Neely5-Jun-19 3:18 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
jesarg5-Jun-19 3:36
memberjesarg5-Jun-19 3:36 
GeneralRe: Suggestion - stackexchange site which requires answers with unit tests? Pin
dandy725-Jun-19 7:38
memberdandy725-Jun-19 7:38 
GeneralCCC 5/6 Pin
PeejayAdams4-Jun-19 22:10
memberPeejayAdams4-Jun-19 22:10 
GeneralRe: CCC 5/6 Pin
Tim Deveaux4-Jun-19 22:19
memberTim Deveaux4-Jun-19 22:19 
GeneralRe: CCC 5/6 Pin
PeejayAdams4-Jun-19 22:32
memberPeejayAdams4-Jun-19 22:32 
GeneralRe: CCC 5/6 Pin
OriginalGriff4-Jun-19 23:09
protectorOriginalGriff4-Jun-19 23:09 
GeneralRe: CCC 5/6 - SOLVED Pin
PeejayAdams4-Jun-19 23:13
memberPeejayAdams4-Jun-19 23:13 
GeneralRe: CCC 5/6 - SOLVED Pin
pkfox5-Jun-19 1:30
professionalpkfox5-Jun-19 1:30 
GeneralMacworld Boston 1997-The Microsoft Deal Pin
abmv4-Jun-19 20:35
professionalabmv4-Jun-19 20:35 
GeneralRe: Macworld Boston 1997-The Microsoft Deal Pin
dandy725-Jun-19 7:36
memberdandy725-Jun-19 7:36 
GeneralBrilliant! Pin
Kornfeld Eliyahu Peter4-Jun-19 20:32
mveKornfeld Eliyahu Peter4-Jun-19 20:32 
GeneralNo rest anyway... Pin
Kornfeld Eliyahu Peter4-Jun-19 20:30
mveKornfeld Eliyahu Peter4-Jun-19 20:30 
GeneralRe: No rest anyway... Pin
lopatir4-Jun-19 23:53
memberlopatir4-Jun-19 23:53 
GeneralRe: No rest anyway... Pin
Marc Clifton5-Jun-19 2:10
protectorMarc Clifton5-Jun-19 2:10 
GeneralRe: No rest anyway... Pin
Kornfeld Eliyahu Peter5-Jun-19 2:16
mveKornfeld Eliyahu Peter5-Jun-19 2:16 
GeneralRe: No rest anyway... Pin
dandy725-Jun-19 7:30
memberdandy725-Jun-19 7:30 

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.